Message ID | 20240207084206.2204-1-tklightforce@googlemail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2088926dyb; Wed, 7 Feb 2024 00:43:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLYWi2zrA/Wn/JQNdFNEe+C8gPZ8tdXo9/LBVscksdHtgiFrIECrBS8Gb1Eg81bjm/qmyxfbkQZaS5A/YiM2GJbnA21g== X-Google-Smtp-Source: AGHT+IH7qH+GynaqcaxH+1qgm+Y4jTWavuNbmDZxcaJ9ijLNi83K1aLUMO/FhtYIYrZIRNud/e+8 X-Received: by 2002:a0c:e487:0:b0:68c:8667:f77f with SMTP id n7-20020a0ce487000000b0068c8667f77fmr4047232qvl.18.1707295391178; Wed, 07 Feb 2024 00:43:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707295391; cv=pass; d=google.com; s=arc-20160816; b=q0Sv9mcIhs+SP7Z6rT1w5QFRzO9KV1mdIthXPLT0YaUovVzJ6QsZSngXUH8sLEjs2h Qu4mGdhhsGBQVlbto7U3HtZkaOhkgOr+vOIRyqgwfqnvIg0HoLR3ans+zQAF7xSNeRR7 DGB9ppI3kWC4WPy+jyz0+7DfYPSZh1W8m2tBdlfB6UTD4S1fB0gmDTE3fCYvG0YrhwAD mdceqhOP881xFFSsw/uaPt7hgKS9tI0M9v1rOBstODNd1wt3zdSHIxcFtMaIsNw+Pl3x wcot8oHThJupBeGyjA3ampXMMw+x0RTYNy2S/9WjV4YjD2Q15lf5ZQMiGAgcRyJQf2Mi kTgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=0Ek5M3wNjOz1sivJxzrJ0sajF2depyYT6ThNER2vlfk=; fh=0UxdniY7vmkKMBA4JIxYzwl123Mjjl+9Sl5z0T8RA6g=; b=dGw0HHtGinGY+ACIei2Y+QH2PMYzyEzAR0MiYwMt9hrTdNKovdiJT0JNoFM6Hpbvc5 hPgwuuCfOE1iG2nSmVuTRuj9rY5yTWFy8TBv6DtnjcawcKoKkNwsyYxKdy1O7JDNfXhP ZkTkM2kEGvC5V+yxR8NkTPvXNy/B7mTDdLNQQliE1Dh9adMIjGD2FYsp1AaMqdopimxv /88L1khIR7G9YUxjYcBbl/lhMEdnpj/UNWx0k0KWtNEqnHeMHH/62khfT0qCWrGjHgEE 3ZKX/NebeBGSdxuNnjXHR1r4n7VWa6xPcQzD1UOnR3FPSIisMop1t37WIRtIjCgUtpoI Qkrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=i4H7IViN; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com X-Forwarded-Encrypted: i=2; AJvYcCWmfIg2QcK/iX0JWI+zWBEau++jj/rE3FGErBoAilPtcxZi43REkoBQowdo9ChjSXptaZ7uG1hD8+MkiFh/EQlOW8EABg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dz16-20020ad45890000000b0068cb6c24c50si659546qvb.360.2024.02.07.00.43.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:43:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=i4H7IViN; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56130-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E0D001C21037 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 08:43:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A035210F2; Wed, 7 Feb 2024 08:42:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="i4H7IViN" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C3BA4208B9; Wed, 7 Feb 2024 08:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295359; cv=none; b=kmm+C766E8y6PPcY9yuwyCffOB8P7YU6ugiZnex5Yr42sB7MG+U0UF1qpUhlSrOXZMtA3Dqg5/to5IfsC13JjlCiIJiEYOVKXuJaj31rOsnPzVY+S056DWwstdmtEnyBU29tWaJxC98/0otKLHyk/S/OfR+Q8kJ/Es0zWdITJ1o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295359; c=relaxed/simple; bh=L5ZAYEEa7bHsoxaRKBdt5ijloVJqHRjtMzafI754Dxg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jNgqhi1jra1Nk5OnOhIORwgeB0IsIX7hxMQ4NRBPUNCKEkY5o+k+uHHCDY7VJXrOBUwxACj4a5OdRwIOzjipdksFZnpcHAiT749Uc9HjK29B/Ujby/evG/VN1wW1TBae6RMNvuFJXf7ix9r5kHZPez3tXRBwxcawlEOVgN9izI0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=i4H7IViN; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5602500d1a6so390492a12.3; Wed, 07 Feb 2024 00:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1707295356; x=1707900156; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0Ek5M3wNjOz1sivJxzrJ0sajF2depyYT6ThNER2vlfk=; b=i4H7IViN+zdl6/Uvl5ZUBlWQNFFvw7FLS4KdQg/S4ZCTdIiuKtXlsZCoQTnTMTRa1v PkIpTnNJWIMq2hoC2ZmAu7JKD960Tl16mtZsQaL7dHhNBMt8LoWuD85HSSWXqu35hv+h r7NP/xsxrVTSk2kxR63JAXlnIxNxM0YtXcSW4XXjVVT7QVIv2aRyNyFMxtEkt9jL2/pb 7oZ4sJ5Ix4TeClyeK9E8XGCIimoNXf8WpLRLRKMW4O7xBi4I75Jr5cZwkl1fi9fy1n7J PN2lbpAHZKkTHLsmy5X9uID8Uhoxt8SNPQWITmlkKzevLuO6Y4llpycfQjniI3D+2mFc 8L7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707295356; x=1707900156; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0Ek5M3wNjOz1sivJxzrJ0sajF2depyYT6ThNER2vlfk=; b=VRybIYTJ6kew0dT86actRHgFTfDtjmRPvVzTvsqTsvuX2VgGoXouZ4H6g93lTIDbTv LBAWgz02oTUJ5rDN3w5LBj0TvUVO8jRBupVAUMKBBAWPvGaCHnS8n5/Ics0b/IIBzT3a /+U/5yFu9H4jvR3FMZ7napAgzIN8CzbuqqS/LqBuD1LQawVxUe6z9qzK5lsHQywmAzjy iIMTx/7TjgyhR/HtolgRSChqnnDlx3+eX+hf/Be9aDw5Pe9B7lvjisgH0aPpqs8lNWLB STDDXJmO9jQGftmoDF/Yh2hBDK4LgTOE+Nq1CmU/jde4m7fZFiwiV3Fm2ezqEekI84dG UddA== X-Forwarded-Encrypted: i=1; AJvYcCUA395t/UUl7ZSRucIjuINH9CrXsRwU0pWRbsrspBFWaX7YjHD+Gl8E4ySRTxPHRSfUebn8rquBH5N0aUXVCGdnrLjDnek86VuW48i6r0OQyyduSPaOcFZNnGfVZFgiZ3EN5IOR42VuVlg= X-Gm-Message-State: AOJu0YxLNOm5ZMFZP4oPjo9oS228LgZ6s63ZnAqkziknSzOnFczm31D1 LQbHiy2l/boXQeMdjH/gTemSRpkdNwPTRfIdK7K+Nkc= X-Received: by 2002:a17:906:eb4b:b0:a37:74fe:2533 with SMTP id mc11-20020a170906eb4b00b00a3774fe2533mr3869381ejb.29.1707295355773; Wed, 07 Feb 2024 00:42:35 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCV7LEFvPLlx0BuKkS1/GQ5fkG8BVp1ykoUsIshWUuWsKY/TrJEtEmyrXiMEXvHAZ4k5mQJ5OxTjXJuiT3SKkbtn38ke0z2hyft3qAJX98Yxz6N0sYvF+2CJu22TJ99dchQuQ/5+Y/sHgKfFDYSGtas87sfkbDWZ1XNhggPOF4nlLixsTbJ8W5ny5+B0VUPHQxblnmaatnLkShAs1waFCM4QcmFJcfhAYtK1tvgzpDyUzNWYANE= Received: from lightwarsArch.plastcontrol.local (rs.plastcontrol.de. [212.185.197.58]) by smtp.gmail.com with ESMTPSA id hw19-20020a170907a0d300b00a376d1a18adsm500341ejc.98.2024.02.07.00.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:42:35 -0800 (PST) From: Sebastian Kranz <tklightforce@googlemail.com> To: linux@roeck-us.net Cc: samsagax@gmail.com, derekjohn.clark@gmail.com, jdelvare@suse.com, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Kranz <tklightforce@googlemail.com> Subject: [PATCH] Add support for Ayaneo Air Plus 7320u. Date: Wed, 7 Feb 2024 09:42:06 +0100 Message-ID: <20240207084206.2204-1-tklightforce@googlemail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790228972002201954 X-GMAIL-MSGID: 1790228972002201954 |
Series |
Add support for Ayaneo Air Plus 7320u.
|
|
Commit Message
Sebastian Kranz
Feb. 7, 2024, 8:42 a.m. UTC
--- drivers/hwmon/oxp-sensors.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On 2/7/24 00:42, Sebastian Kranz wrote: > --- Patch description missing. > drivers/hwmon/oxp-sensors.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c > index ea9602063eab..8d3b0f86cc57 100644 > --- a/drivers/hwmon/oxp-sensors.c > +++ b/drivers/hwmon/oxp-sensors.c > @@ -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:
Subject: [PATCH] hwmon: (oxp-sensors) Add Ayaneo Air Plus 7320u Am 7. Februar 2024 15:55:39 MEZ schrieb Guenter Roeck <linux@roeck-us.net>: >On 2/7/24 00:42, Sebastian Kranz wrote: >> --- > >Patch description missing. > >> drivers/hwmon/oxp-sensors.c | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c >> index ea9602063eab..8d3b0f86cc57 100644 >> --- a/drivers/hwmon/oxp-sensors.c >> +++ b/drivers/hwmon/oxp-sensors.c >> @@ -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: >
On 2/8/24 04:25, Sebastian Kranz wrote: > 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
diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c index ea9602063eab..8d3b0f86cc57 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -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: