Re: [RESEND PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-11-13 Thread Nishanth Menon
On Thu, 29 Oct 2020 10:39:50 +0530, Vignesh Raghavendra wrote:
> J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
> for the same.

Hi Vignesh Raghavendra,

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support
  commit: e6b4516815b61a9e6d27a31edf385d34c8009691


All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 
849D 1736 249D



Re: [RESEND PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-11-12 Thread Sekhar Nori
On 29/10/20 10:39 AM, Vignesh Raghavendra wrote:
> J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
> for the same.
> 
> Signed-off-by: Vignesh Raghavendra 

Reviewed-by: Sekhar Nori 

Thanks,
Sekhar


[RESEND PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-10-29 Thread Vignesh Raghavendra
J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
for the same.

Signed-off-by: Vignesh Raghavendra 
---

Resending, after rebasing and testing on top of 5.10-rc1. No code
change.
v1: https://lore.kernel.org/r/20201013081650.26090-1-vigne...@ti.com

 .../dts/ti/k3-j7200-common-proc-board.dts |  6 ++
 .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi  | 19 +++
 2 files changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts 
b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
index ef03e7636b66..7d2ff1c3b50f 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
@@ -213,3 +213,9 @@  {
dr_mode = "otg";
maximum-speed = "high-speed";
 };
+
+ {
+   adc {
+   ti,adc-channels = <0 1 2 3 4 5 6 7>;
+   };
+};
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi 
b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
index eb2a78a53512..bb1fe9c12e44 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
@@ -270,4 +270,23 @@ hbmc: hyperbus@47034000 {
mux-controls = <_mux 0>;
};
};
+
+   tscadc0: tscadc@4020 {
+   compatible = "ti,am3359-tscadc";
+   reg = <0x00 0x4020 0x00 0x1000>;
+   interrupts = ;
+   power-domains = <_pds 0 TI_SCI_PD_EXCLUSIVE>;
+   clocks = <_clks 0 1>;
+   assigned-clocks = <_clks 0 3>;
+   assigned-clock-rates = <6000>;
+   clock-names = "adc_tsc_fck";
+   dmas = <_udmap 0x7400>,
+   <_udmap 0x7401>;
+   dma-names = "fifo0", "fifo1";
+
+   adc {
+   #io-channel-cells = <1>;
+   compatible = "ti,am3359-adc";
+   };
+   };
 };
-- 
2.29.0



Re: [PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-10-26 Thread Nishanth Menon
On 13:46-20201013, Vignesh Raghavendra wrote:
> J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
> for the same.
> 
> Signed-off-by: Vignesh Raghavendra 

Please reverify with v5.10-rc1 and repost.

I'd appreciate an additional review if possible.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 
849D 1736 249D


[PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-10-13 Thread Vignesh Raghavendra
J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
for the same.

Signed-off-by: Vignesh Raghavendra 
---
 .../dts/ti/k3-j7200-common-proc-board.dts |  6 ++
 .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi  | 19 +++
 2 files changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts 
b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
index ef03e7636b66..7d2ff1c3b50f 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
@@ -213,3 +213,9 @@  {
dr_mode = "otg";
maximum-speed = "high-speed";
 };
+
+ {
+   adc {
+   ti,adc-channels = <0 1 2 3 4 5 6 7>;
+   };
+};
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi 
b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
index eb2a78a53512..bb1fe9c12e44 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
@@ -270,4 +270,23 @@ hbmc: hyperbus@47034000 {
mux-controls = <_mux 0>;
};
};
+
+   tscadc0: tscadc@4020 {
+   compatible = "ti,am3359-tscadc";
+   reg = <0x00 0x4020 0x00 0x1000>;
+   interrupts = ;
+   power-domains = <_pds 0 TI_SCI_PD_EXCLUSIVE>;
+   clocks = <_clks 0 1>;
+   assigned-clocks = <_clks 0 3>;
+   assigned-clock-rates = <6000>;
+   clock-names = "adc_tsc_fck";
+   dmas = <_udmap 0x7400>,
+   <_udmap 0x7401>;
+   dma-names = "fifo0", "fifo1";
+
+   adc {
+   #io-channel-cells = <1>;
+   compatible = "ti,am3359-adc";
+   };
+   };
 };
-- 
2.28.0