From: wefu@redhat.com To: jszhang@kernel.org, guoren@kernel.org, conor@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, jic23@kernel.org, lars@metafoo.de, andriy.shevchenko@linux.intel.com, nuno.sa@analog.com, marcelo.schmitt@analog.com, bigunclemax@gmail.com, marius.cristea@microchip.com, fr0st61te@gmail.com, okan.sahin@analog.com, marcus.folkesson@gmail.com, schnelle@linux.ibm.com, lee@kernel.org, mike.looijmans@topic.nl Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Wei Fu <wefu@redhat.com> Subject: [PATCH 2/3] riscv: dts: thead: Add XuanTie TH1520 ADC device node Date: Sat, 30 Mar 2024 04:01:25 +0800 [thread overview] Message-ID: <20240329200241.4122000-3-wefu@redhat.com> (raw) In-Reply-To: <20240329200241.4122000-1-wefu@redhat.com> From: Wei Fu <wefu@redhat.com> Add nodes for the XuanTie TH1520 ADC device node on the XuanTie TH1520 Soc. Signed-off-by: Wei Fu <wefu@redhat.com> --- arch/riscv/boot/dts/thead/th1520.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index b7b7e950a7d7..cd6bc89a240c 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -417,6 +417,16 @@ uart5: serial@fff7f0c000 { status = "disabled"; }; + adc: adc@0xfffff51000 { + compatible = "thead,th1520-adc"; + reg = <0xff 0xfff51000 0x0 0x1000>; + interrupts = <61 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&aonsys_clk>; + clock-names = "adc"; + /* ADC pin is proprietary,no need to config pinctrl */ + status = "disabled"; + }; + timer4: timer@ffffc33000 { compatible = "snps,dw-apb-timer"; reg = <0xff 0xffc33000 0x0 0x14>; -- 2.44.0
WARNING: multiple messages have this Message-ID (diff)
From: wefu@redhat.com To: jszhang@kernel.org, guoren@kernel.org, conor@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, jic23@kernel.org, lars@metafoo.de, andriy.shevchenko@linux.intel.com, nuno.sa@analog.com, marcelo.schmitt@analog.com, bigunclemax@gmail.com, marius.cristea@microchip.com, fr0st61te@gmail.com, okan.sahin@analog.com, marcus.folkesson@gmail.com, schnelle@linux.ibm.com, lee@kernel.org, mike.looijmans@topic.nl Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Wei Fu <wefu@redhat.com> Subject: [PATCH 2/3] riscv: dts: thead: Add XuanTie TH1520 ADC device node Date: Sat, 30 Mar 2024 04:01:25 +0800 [thread overview] Message-ID: <20240329200241.4122000-3-wefu@redhat.com> (raw) In-Reply-To: <20240329200241.4122000-1-wefu@redhat.com> From: Wei Fu <wefu@redhat.com> Add nodes for the XuanTie TH1520 ADC device node on the XuanTie TH1520 Soc. Signed-off-by: Wei Fu <wefu@redhat.com> --- arch/riscv/boot/dts/thead/th1520.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index b7b7e950a7d7..cd6bc89a240c 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -417,6 +417,16 @@ uart5: serial@fff7f0c000 { status = "disabled"; }; + adc: adc@0xfffff51000 { + compatible = "thead,th1520-adc"; + reg = <0xff 0xfff51000 0x0 0x1000>; + interrupts = <61 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&aonsys_clk>; + clock-names = "adc"; + /* ADC pin is proprietary,no need to config pinctrl */ + status = "disabled"; + }; + timer4: timer@ffffc33000 { compatible = "snps,dw-apb-timer"; reg = <0xff 0xffc33000 0x0 0x14>; -- 2.44.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2024-03-29 20:05 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-29 20:01 [PATCH 0/3] iio: adc: add ADC driver for XuanTie TH1520 SoC wefu 2024-03-29 20:01 ` wefu 2024-03-29 20:01 ` [PATCH 1/3] drivers/iio/adc: Add XuanTie TH1520 ADC driver wefu 2024-03-29 20:01 ` wefu 2024-03-30 18:17 ` Jonathan Cameron 2024-03-30 18:17 ` Jonathan Cameron 2024-03-29 20:01 ` wefu [this message] 2024-03-29 20:01 ` [PATCH 2/3] riscv: dts: thead: Add XuanTie TH1520 ADC device node wefu 2024-04-10 6:23 ` kernel test robot 2024-04-10 6:23 ` kernel test robot 2024-03-29 20:01 ` [PATCH 3/3] dt-bindings: adc: Document XuanTie TH1520 ADC wefu 2024-03-29 20:01 ` wefu 2024-03-29 21:29 ` Rob Herring 2024-03-30 11:58 ` kernel test robot 2024-03-30 11:58 ` kernel test robot 2024-03-30 16:14 ` Jonathan Cameron 2024-03-30 16:14 ` Jonathan Cameron
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=20240329200241.4122000-3-wefu@redhat.com \ --to=wefu@redhat.com \ --cc=andriy.shevchenko@linux.intel.com \ --cc=aou@eecs.berkeley.edu \ --cc=bigunclemax@gmail.com \ --cc=conor@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=fr0st61te@gmail.com \ --cc=guoren@kernel.org \ --cc=jic23@kernel.org \ --cc=jszhang@kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=lars@metafoo.de \ --cc=lee@kernel.org \ --cc=linux-iio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=marcelo.schmitt@analog.com \ --cc=marcus.folkesson@gmail.com \ --cc=marius.cristea@microchip.com \ --cc=mike.looijmans@topic.nl \ --cc=nuno.sa@analog.com \ --cc=okan.sahin@analog.com \ --cc=palmer@dabbelt.com \ --cc=paul.walmsley@sifive.com \ --cc=robh@kernel.org \ --cc=schnelle@linux.ibm.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.