Skip to contentSkip to conversation

Add support for Ayaneo Air Plus 7320u.

PATCH Superseded Sebastian Kranz 2 participants 7 messages Feb 7, 2024 – Feb 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for Ayaneo Air Plus 7320u.

---
 drivers/hwmon/oxp-sensors.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/hwmon/oxp-sensors.c +10 -0
index ea9602063eab..8d3b0f86cc57 100644
@@ -43,6 +43,7 @@ enum oxp_board {
 	aok_zoe_a1 = 1,
 	aya_neo_2,
 	aya_neo_air,
+	aya_neo_air_plus_mendo,
 	aya_neo_air_pro,
 	aya_neo_geek,
 	oxp_mini_amd,
@@ -98,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = (void *)aya_neo_air,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"),
+		},
+		.driver_data = (void *)aya_neo_air_plus_mendo,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
@@ -332,6 +340,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
 			switch (board) {
 			case aya_neo_2:
 			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
 			case aya_neo_air_pro:
 			case aya_neo_geek:
 			case oxp_mini_amd:
@@ -374,6 +383,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
 			switch (board) {
 			case aya_neo_2:
 			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
 			case aya_neo_air_pro:
 			case aya_neo_geek:
 			case oxp_mini_amd:
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 1 line · Sebastian Kranz

---

Patch description missing.

Quoted 45 lines
  drivers/hwmon/oxp-sensors.c | 10 ++++++++++
  1 file changed, 10 insertions(+)
drivers/hwmon/oxp-sensors.c +10 -0
index ea9602063eab..8d3b0f86cc57 100644
@@ -43,6 +43,7 @@ enum oxp_board {
  	aok_zoe_a1 = 1,
  	aya_neo_2,
  	aya_neo_air,
+	aya_neo_air_plus_mendo,
  	aya_neo_air_pro,
  	aya_neo_geek,
  	oxp_mini_amd,
@@ -98,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
  		},
  		.driver_data = (void *)aya_neo_air,
  	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"),
+		},
+		.driver_data = (void *)aya_neo_air_plus_mendo,
+	},
  	{
  		.matches = {
  			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
@@ -332,6 +340,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
  			switch (board) {
  			case aya_neo_2:
  			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
  			case aya_neo_air_pro:
  			case aya_neo_geek:
  			case oxp_mini_amd:
@@ -374,6 +383,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
  			switch (board) {
  			case aya_neo_2:
  			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
  			case aya_neo_air_pro:
  			case aya_neo_geek:
  			case oxp_mini_amd:
#2 lore raw

Subject: [PATCH] hwmon: (oxp-sensors) Add Ayaneo Air Plus 7320u

Am 7. Februar 2024 15:55:39 MEZ schrieb Guenter Roeck <[email protected]>:

Quoted 51 lines · Sebastian Kranz
Quoted 1 line

---

Patch description missing.

Quoted 45 lines
  drivers/hwmon/oxp-sensors.c | 10 ++++++++++
  1 file changed, 10 insertions(+)
drivers/hwmon/oxp-sensors.c +10 -0
index ea9602063eab..8d3b0f86cc57 100644
@@ -43,6 +43,7 @@ enum oxp_board {
  	aok_zoe_a1 = 1,
  	aya_neo_2,
  	aya_neo_air,
+	aya_neo_air_plus_mendo,
  	aya_neo_air_pro,
  	aya_neo_geek,
  	oxp_mini_amd,
@@ -98,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
  		},
  		.driver_data = (void *)aya_neo_air,
  	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"),
+		},
+		.driver_data = (void *)aya_neo_air_plus_mendo,
+	},
  	{
  		.matches = {
  			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
@@ -332,6 +340,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
  			switch (board) {
  			case aya_neo_2:
  			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
  			case aya_neo_air_pro:
  			case aya_neo_geek:
  			case oxp_mini_amd:
@@ -374,6 +383,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
  			switch (board) {
  			case aya_neo_2:
  			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
  			case aya_neo_air_pro:
  			case aya_neo_geek:
  			case oxp_mini_amd:
Signature · 1 line
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
maintainer
#3 lore raw
Quoted 2 lines · Sebastian Kranz

Subject: [PATCH] hwmon: (oxp-sensors) Add Ayaneo Air Plus 7320u

Not sure I understand what you are trying to say here. Yes, obviously your patch has a subject. It still needs a description. See "Describe your changes" in Documentation/process/submitting-patches.rst.

Guenter

#4 lore raw

PATCH v2 1/1 hwmon: (oxp-sensors) Add support for Ayaneo Air Plus 7320u.

Add support for handheld AYANEO AIR Plus with the same EC registers to add proper fan control.

Functionality was tested successfully.

---
 Documentation/hwmon/oxp-sensors.rst |  1 +
 drivers/hwmon/oxp-sensors.c         | 10 ++++++++++
 2 files changed, 11 insertions(+)
Documentation/hwmon/oxp-sensors.rst +1 -0
index 3adeb7406243..55b1ef61625e 100644
@@ -33,6 +33,7 @@ Currently the driver supports the following handhelds:
  - AOK ZOE A1 PRO
  - Aya Neo 2
  - Aya Neo AIR
+ - Aya Neo AIR Plus (Mendocino)
  - Aya Neo AIR Pro
  - Aya Neo Geek
  - OneXPlayer AMD
drivers/hwmon/oxp-sensors.c +10 -0
index ea9602063eab..8d3b0f86cc57 100644
@@ -43,6 +43,7 @@ enum oxp_board {
 	aok_zoe_a1 = 1,
 	aya_neo_2,
 	aya_neo_air,
+	aya_neo_air_plus_mendo,
 	aya_neo_air_pro,
 	aya_neo_geek,
 	oxp_mini_amd,
@@ -98,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = (void *)aya_neo_air,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"),
+		},
+		.driver_data = (void *)aya_neo_air_plus_mendo,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
@@ -332,6 +340,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
 			switch (board) {
 			case aya_neo_2:
 			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
 			case aya_neo_air_pro:
 			case aya_neo_geek:
 			case oxp_mini_amd:
@@ -374,6 +383,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
 			switch (board) {
 			case aya_neo_2:
 			case aya_neo_air:
+			case aya_neo_air_plus_mendo:
 			case aya_neo_air_pro:
 			case aya_neo_geek:
 			case oxp_mini_amd:
Signature · 1 line
2.43.0
maintainer
#5 lore raw

Re: [PATCH V2] hwmon: (oxp-sensors) Add support for Ayaneo Air Plus 7320u.

Quoted 2 lines · Sebastian Kranz

Add support for handheld AYANEO AIR Plus with the same EC registers to add proper fan control.

checkpatch:

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)

Also, there is no change log.

I fixed up the commit message when applying the patch, so there is no need to resend, but please keep that in mind for future submissions.

Thanks,
Guenter

#6 lore raw

Re: [PATCH V2] hwmon: (oxp-sensors) Add support for Ayaneo Air Plus 7320u.

Sorry for the inconvenience.
Thanks you for your time and patience.

Am 9. Februar 2024 16:01:37 MEZ schrieb Guenter Roeck <[email protected]>:

Quoted 15 lines · Sebastian Kranz
Quoted 2 lines

Add support for handheld AYANEO AIR Plus with the same EC registers to add proper fan control.

checkpatch:

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)

Also, there is no change log.

I fixed up the commit message when applying the patch, so there is no need to resend, but please keep that in mind for future submissions.

Thanks,
Guenter