* [PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions @ 2020-10-08 12:40 Jishnu Prakash 2020-10-08 12:40 ` Jishnu Prakash 0 siblings, 1 reply; 3+ messages in thread From: Jishnu Prakash @ 2020-10-08 12:40 UTC (permalink / raw) To: agross, bjorn.andersson, devicetree, linux-kernel, mka, Jonathan.Cameron, amit.kucheria, kgunda, aghayal Cc: linux-arm-msm, linux-arm-msm-owner, Jishnu Prakash This patch is meant to add ADC_TM definitions on PM6150 and PM6150l, for a customer variant of SC7180. It is dependent on the following patch series by Dmitry Baryshkov: "qcom: pm8150: add support for thermal monitoring". This change was tested along with the driver changes in the patch series and verified to work on SC7180. Jishnu Prakash (1): arm64: dts: qcom: pm6150x: add ADC_TM definitions arch/arm64/boot/dts/qcom/pm6150.dtsi | 10 ++++++++++ arch/arm64/boot/dts/qcom/pm6150l.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions 2020-10-08 12:40 [PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions Jishnu Prakash @ 2020-10-08 12:40 ` Jishnu Prakash 2020-11-24 23:10 ` patchwork-bot+linux-arm-msm 0 siblings, 1 reply; 3+ messages in thread From: Jishnu Prakash @ 2020-10-08 12:40 UTC (permalink / raw) To: agross, bjorn.andersson, devicetree, linux-kernel, mka, Jonathan.Cameron, amit.kucheria, kgunda, aghayal, Rob Herring, linux-arm-msm Cc: linux-arm-msm-owner, Jishnu Prakash Add ADC_TM peripheral definitions for PM6150 and PM6150L. Add ADC peripheral definition for PM6150l, which is needed for ADC_TM. Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org> --- arch/arm64/boot/dts/qcom/pm6150.dtsi | 10 ++++++++++ arch/arm64/boot/dts/qcom/pm6150l.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi index 57af0b4..8ab4f1f 100644 --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi @@ -52,6 +52,16 @@ }; }; + pm6150_adc_tm: adc-tm@3500 { + compatible = "qcom,spmi-adc-tm5"; + reg = <0x3500>; + interrupts = <0x0 0x35 0x0 IRQ_TYPE_EDGE_RISING>; + #thermal-sensor-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + pm6150_gpio: gpios@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index f84027b..b49860c 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -11,6 +11,30 @@ #address-cells = <1>; #size-cells = <0>; + pm6150l_adc: adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + + adc-chan@6 { + reg = <ADC5_DIE_TEMP>; + label = "die_temp"; + }; + }; + + pm6150l_adc_tm: adc-tm@3500 { + compatible = "qcom,spmi-adc-tm5"; + reg = <0x3500>; + interrupts = <0x4 0x35 0x0 IRQ_TYPE_EDGE_RISING>; + #thermal-sensor-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + pm6150l_gpio: gpios@c000 { compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions 2020-10-08 12:40 ` Jishnu Prakash @ 2020-11-24 23:10 ` patchwork-bot+linux-arm-msm 0 siblings, 0 replies; 3+ messages in thread From: patchwork-bot+linux-arm-msm @ 2020-11-24 23:10 UTC (permalink / raw) To: Jishnu Prakash; +Cc: linux-arm-msm Hello: This patch was applied to qcom/linux.git (refs/heads/for-next): On Thu, 8 Oct 2020 18:10:25 +0530 you wrote: > Add ADC_TM peripheral definitions for PM6150 and PM6150L. Add > ADC peripheral definition for PM6150l, which is needed for ADC_TM. > > Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org> > --- > arch/arm64/boot/dts/qcom/pm6150.dtsi | 10 ++++++++++ > arch/arm64/boot/dts/qcom/pm6150l.dtsi | 24 ++++++++++++++++++++++++ > 2 files changed, 34 insertions(+) Here is the summary with links: - arm64: dts: qcom: pm6150x: add ADC_TM definitions https://git.kernel.org/qcom/c/7ee3eae86833 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-24 23:10 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-10-08 12:40 [PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions Jishnu Prakash 2020-10-08 12:40 ` Jishnu Prakash 2020-11-24 23:10 ` patchwork-bot+linux-arm-msm
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox