From: Chanh Nguyen <chanh@os.amperecomputing.com>
To: OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@aj.id.au>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Cc: Chanh Nguyen <chanh@os.amperecomputing.com>
Subject: [PATCH 6/7] ARM: dts: aspeed: mtmitchell: Remove redundant ADC configurations
Date: Thu, 5 Oct 2023 10:55:24 +0700 [thread overview]
Message-ID: <20231005035525.19036-7-chanh@os.amperecomputing.com> (raw)
In-Reply-To: <20231005035525.19036-1-chanh@os.amperecomputing.com>
Mt.Mitchell DVT and later hardware do not use adc1. It only uses
adc0 with channels 0, 1 and 2. This commit removes redundant ADC
configurations.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
---
.../dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
index c676172f0dbf..eb8d5e367276 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
@@ -564,20 +564,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
- &pinctrl_adc2_default &pinctrl_adc3_default
- &pinctrl_adc4_default &pinctrl_adc5_default
- &pinctrl_adc6_default &pinctrl_adc7_default>;
-};
-
-&adc1 {
- ref_voltage = <2500>;
- status = "okay";
-
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
- &pinctrl_adc10_default &pinctrl_adc11_default
- &pinctrl_adc12_default &pinctrl_adc13_default
- &pinctrl_adc14_default &pinctrl_adc15_default>;
+ &pinctrl_adc2_default>;
};
&vhub {
--
2.17.1
next prev parent reply other threads:[~2023-10-05 3:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-05 3:55 [PATCH 0/7] Update the device tree for Ampere's BMC platform Chanh Nguyen
2023-10-05 3:55 ` [PATCH 1/7] ARM: dts: aspeed: mtjade, mtmitchell: Update gpio-line-names Chanh Nguyen
2023-10-11 1:48 ` Joel Stanley
2023-10-05 3:55 ` [PATCH 2/7] ARM: dts: aspeed: mtjade, mtmitchell: Add new gpio-line-names Chanh Nguyen
2023-10-11 1:48 ` Joel Stanley
2023-10-05 3:55 ` [PATCH 3/7] ARM: dts: aspeed: mtjade: Add the gpio-hog Chanh Nguyen
2023-10-11 1:49 ` Joel Stanley
2023-10-05 3:55 ` [PATCH 4/7] ARM: dts: aspeed: mtmitchell: Add LEDs Chanh Nguyen
2023-10-05 7:31 ` Krzysztof Kozlowski
2023-10-10 3:28 ` Chanh Nguyen
2023-10-05 3:55 ` [PATCH 5/7] ARM: dts: aspeed: mtmitchell: Add inlet temperature sensor Chanh Nguyen
2023-10-11 1:51 ` Joel Stanley
2023-10-05 3:55 ` Chanh Nguyen [this message]
2023-10-11 1:51 ` [PATCH 6/7] ARM: dts: aspeed: mtmitchell: Remove redundant ADC configurations Joel Stanley
2023-10-05 3:55 ` [PATCH 7/7] ARM: dts: aspeed: mtmitchell: Add I2C NVMe alias port Chanh Nguyen
2023-10-11 1:52 ` Joel Stanley
2023-10-11 8:31 ` [PATCH 0/7] Update the device tree for Ampere's BMC platform Joel Stanley
2023-10-11 11:27 ` Chanh Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231005035525.19036-7-chanh@os.amperecomputing.com \
--to=chanh@os.amperecomputing.com \
--cc=andrew@aj.id.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).