* [PATCH v4 0/3] fix the TSHUT issue on rockchip thermal
@ 2015-10-23 11:25 Caesar Wang
2015-10-23 11:25 ` [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document Caesar Wang
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Caesar Wang @ 2015-10-23 11:25 UTC (permalink / raw)
To: linux-arm-kernel
Thank you all for providing inputs and comments on previous versions of
this patchset.
Especially thanks to the (Doug, Rob....).
We need the OTP pin is gpio state before resetting the TSADC controller,
since the tshut polarity will generate a high signal.
Says:
The TSHUT temperature is setting more than 80 degree, the default
tshut polarity is HIGH.
If T > 80C, the OTP output the High Signal.
If T < 80C, the OTP output the Low Signal.
On the moment, the TSADC controller is reset, the tshut polarity will be
Low in a short period of time.
So:
If T < 80C, the OTP output the High Signal.
If T > 80C, the OTP output the Low Signal.
In some cases, the OTP pin is connected to the PMIC, maybe the PMIC can
accept the reset response time to avoid this issue.
In other words, the system will be always reboot if we make the OTP pin
is connected the others IC to control the power.
This series patchs are depend on Doug's patch.(https://patchwork.kernel.org/patch/7454311/)
This series patchs are based on the Linus master branch.
518cd44 ARM: dts: rockchip: Add the OTP gpio pinctrl
83e0bab dt-bindings: Add the "init" pinctrl in this document
150426c drivers/pinctrl: Add the concept of an "init" state
ce1fad2 Merge branch 'keys-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
1099f86 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
911b79c KEYS: Don't permit request_key() to construct a new keyring
37850e3 net: bcmgenet: Fix early link interrupt enabling
afc050d Merge tag 'wireless-drivers-for-davem-2015-10-17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
e277de5 tunnels: Don't require remote endpoint or ID during creation.
740dbc2 openvswitch: Scrub skb between namespaces
....
Tested on box board.
Changes in v4:
- take the Doug's commit as correct decription.
Changes in v3:
- Add the pictrl states decription in document.
- Add the pinctrl state for in the suspend/resume.
- Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
Changes in v2:
- Add the 'init' pinctrl more decription in commit.
- Fix the subject to make more obvious in PATCH[1/2]
- Resend this patch v2 since fix the subject to be specific.
- Add some commits for more obvious in PATCH[2/2]
Changes in v1:
- As the Doug comments, add the 'init' property to sync document.
- As the Doug comments, drop the thermal driver patchs since
we can with pinctrl changing to work.
- As the Doug's patch to add the 'init' property.
Caesar Wang (3):
dt-bindings: rockchip-thermal: Add the pinctrl states in this document
thermal: rockchip: support the sleep pinctrl state to avoid glitches
in s2r
ARM: dts: rockchip: Add the OTP gpio pinctrl
.../devicetree/bindings/thermal/rockchip-thermal.txt | 11 +++++++++--
arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
drivers/thermal/rockchip_thermal.c | 4 ++++
3 files changed, 21 insertions(+), 4 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document
2015-10-23 11:25 [PATCH v4 0/3] fix the TSHUT issue on rockchip thermal Caesar Wang
@ 2015-10-23 11:25 ` Caesar Wang
2015-10-23 13:29 ` Rob Herring
2015-10-23 11:25 ` [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r Caesar Wang
2015-10-23 11:25 ` [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl Caesar Wang
2 siblings, 1 reply; 10+ messages in thread
From: Caesar Wang @ 2015-10-23 11:25 UTC (permalink / raw)
To: linux-arm-kernel
The "init" pinctrl is defined we'll set
pinctrl to this state before probe and then "default" after probe.
Add the "init" and "sleep" pinctrl as the OTP gpio state, since we need
switch the pin to gpio state before the TSADC controller is reset.
AFAIK, the TSADC controller is reset, the tshut polarity will be
a *low* signal in a short period of time for some devices.
Says:
The TSADC get the temperature on rockchip thermal.
If T(current temperature) < (setting temperature), the OTP output the
*high* signal.
If T(current temperature) > (setting temperature), the OTP output the
*low* Signal.
In some cases, the OTP pin is connected to the PMIC, maybe the
PMIC can accept the reset response time to avoid this issue.
In other words, the system will be always reboot if we make the
OTP pin is connected the others IC to control the power.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
---
Changes in v4: None
Changes in v3:
- Add the pictrl states decription in document.
Changes in v2:
- Add the 'init' pinctrl more decription in commit.
- Fix the subject to make more obvious in PATCH[1/2]
- Resend this patch v2 since fix the subject to be specific.
Changes in v1:
- As the Doug comments, add the 'init' property to sync document.
.../devicetree/bindings/thermal/rockchip-thermal.txt | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
index ef802de..b38200d 100644
--- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
@@ -12,6 +12,11 @@ Required properties:
- resets : Must contain an entry for each entry in reset-names.
See ../reset/reset.txt for details.
- reset-names : Must include the name "tsadc-apb".
+- pinctrl-names : The pin control state names;
+- pinctrl-0 : The "init" pinctrl state, it will be set before device probe.
+- pinctrl-1 : The "default" pinctrl state, it will be set after reset the
+ TSADC controller.
+- pinctrl-2 : The "sleep" pinctrl state, it will be in for suspend.
- #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
- rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value.
- rockchip,hw-tshut-mode : The hardware-controlled shutdown mode 0:CRU 1:GPIO.
@@ -27,8 +32,10 @@ tsadc: tsadc at ff280000 {
clock-names = "tsadc", "apb_pclk";
resets = <&cru SRST_TSADC>;
reset-names = "tsadc-apb";
- pinctrl-names = "default";
- pinctrl-0 = <&otp_out>;
+ pinctrl-names = "init", "default", "sleep";
+ pinctrl-0 = <&otp_gpio>;
+ pinctrl-1 = <&otp_out>;
+ pinctrl-2 = <&otp_gpio>;
#thermal-sensor-cells = <1>;
rockchip,hw-tshut-temp = <95000>;
rockchip,hw-tshut-mode = <0>;
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r
2015-10-23 11:25 [PATCH v4 0/3] fix the TSHUT issue on rockchip thermal Caesar Wang
2015-10-23 11:25 ` [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document Caesar Wang
@ 2015-10-23 11:25 ` Caesar Wang
2015-10-23 15:25 ` Doug Anderson
2015-10-23 11:25 ` [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl Caesar Wang
2 siblings, 1 reply; 10+ messages in thread
From: Caesar Wang @ 2015-10-23 11:25 UTC (permalink / raw)
To: linux-arm-kernel
When we come out of system suspend state (S3) the tsadc will have been
reset and back at its default state. While reprogramming the tsadc
it's possible that we'll glitch the output and unintentionally cause
the "over temperature" GPIO to be asserted. Since the over
temperature GPIO is often hooked up to something that will cause a
reboot or shutdown in hardware, this glitch can be catastrophic on
some boards.
We'll add support for selecting the "sleep" pinctrl state at suspend
time. Boards can use this to effectively disable the tsadc at suspend
time and avoid glitches when the system is resumed.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---
Changes in v4:
- take the Doug's commit as correct decription.
Changes in v3:
- Add the pinctrl state for in the suspend/resume.
Changes in v2: None
Changes in v1: None
drivers/thermal/rockchip_thermal.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
index c89ffb2..3b8fbda 100644
--- a/drivers/thermal/rockchip_thermal.c
+++ b/drivers/thermal/rockchip_thermal.c
@@ -642,6 +642,8 @@ static int __maybe_unused rockchip_thermal_suspend(struct device *dev)
clk_disable(thermal->pclk);
clk_disable(thermal->clk);
+ pinctrl_pm_select_sleep_state(dev);
+
return 0;
}
@@ -678,6 +680,8 @@ static int __maybe_unused rockchip_thermal_resume(struct device *dev)
for (i = 0; i < ARRAY_SIZE(thermal->sensors); i++)
rockchip_thermal_toggle_sensor(&thermal->sensors[i], true);
+ pinctrl_pm_select_default_state(dev);
+
return 0;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl
2015-10-23 11:25 [PATCH v4 0/3] fix the TSHUT issue on rockchip thermal Caesar Wang
2015-10-23 11:25 ` [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document Caesar Wang
2015-10-23 11:25 ` [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r Caesar Wang
@ 2015-10-23 11:25 ` Caesar Wang
2015-10-23 15:25 ` Doug Anderson
2 siblings, 1 reply; 10+ messages in thread
From: Caesar Wang @ 2015-10-23 11:25 UTC (permalink / raw)
To: linux-arm-kernel
Add the "init" anf "sleep" pinctrl as the OTP gpio state.
We need the OTP pin is gpio state before resetting the TSADC controller,
since the tshut polarity will generate a high signal.
"init" pinctrl property is defined by Doug's Patch[0].
Patch[0]:
https://patchwork.kernel.org/patch/7454311/
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
---
Changes in v4: None
Changes in v3:
- Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
Changes in v2:
- Add some commits for more obvious in PATCH[2/2]
Changes in v1:
- As the Doug comments, drop the thermal driver patchs since
we can with pinctrl changing to work.
- As the Doug's patch to add the 'init' property.
arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 906e938..13ff09a 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -447,8 +447,10 @@
clock-names = "tsadc", "apb_pclk";
resets = <&cru SRST_TSADC>;
reset-names = "tsadc-apb";
- pinctrl-names = "default";
- pinctrl-0 = <&otp_out>;
+ pinctrl-names = "init", "default", "sleep";
+ pinctrl-0 = <&otp_gpio>;
+ pinctrl-1 = <&otp_out>;
+ pinctrl-2 = <&otp_gpio>;
#thermal-sensor-cells = <1>;
rockchip,hw-tshut-temp = <95000>;
status = "disabled";
@@ -1273,6 +1275,10 @@
};
tsadc {
+ otp_gpio: otp-gpio {
+ rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+
otp_out: otp-out {
rockchip,pins = <0 10 RK_FUNC_1 &pcfg_pull_none>;
};
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document
2015-10-23 11:25 ` [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document Caesar Wang
@ 2015-10-23 13:29 ` Rob Herring
0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2015-10-23 13:29 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Oct 23, 2015 at 6:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
> The "init" pinctrl is defined we'll set
> pinctrl to this state before probe and then "default" after probe.
> Add the "init" and "sleep" pinctrl as the OTP gpio state, since we need
> switch the pin to gpio state before the TSADC controller is reset.
>
> AFAIK, the TSADC controller is reset, the tshut polarity will be
> a *low* signal in a short period of time for some devices.
>
> Says:
> The TSADC get the temperature on rockchip thermal.
>
> If T(current temperature) < (setting temperature), the OTP output the
> *high* signal.
> If T(current temperature) > (setting temperature), the OTP output the
> *low* Signal.
>
> In some cases, the OTP pin is connected to the PMIC, maybe the
> PMIC can accept the reset response time to avoid this issue.
>
> In other words, the system will be always reboot if we make the
> OTP pin is connected the others IC to control the power.
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
> ---
>
> Changes in v4: None
> Changes in v3:
> - Add the pictrl states decription in document.
>
> Changes in v2:
> - Add the 'init' pinctrl more decription in commit.
> - Fix the subject to make more obvious in PATCH[1/2]
> - Resend this patch v2 since fix the subject to be specific.
>
> Changes in v1:
> - As the Doug comments, add the 'init' property to sync document.
>
> .../devicetree/bindings/thermal/rockchip-thermal.txt | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> index ef802de..b38200d 100644
> --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> @@ -12,6 +12,11 @@ Required properties:
> - resets : Must contain an entry for each entry in reset-names.
> See ../reset/reset.txt for details.
> - reset-names : Must include the name "tsadc-apb".
> +- pinctrl-names : The pin control state names;
> +- pinctrl-0 : The "init" pinctrl state, it will be set before device probe.
> +- pinctrl-1 : The "default" pinctrl state, it will be set after reset the
> + TSADC controller.
> +- pinctrl-2 : The "sleep" pinctrl state, it will be in for suspend.
> - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
> - rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value.
> - rockchip,hw-tshut-mode : The hardware-controlled shutdown mode 0:CRU 1:GPIO.
> @@ -27,8 +32,10 @@ tsadc: tsadc at ff280000 {
> clock-names = "tsadc", "apb_pclk";
> resets = <&cru SRST_TSADC>;
> reset-names = "tsadc-apb";
> - pinctrl-names = "default";
> - pinctrl-0 = <&otp_out>;
> + pinctrl-names = "init", "default", "sleep";
> + pinctrl-0 = <&otp_gpio>;
> + pinctrl-1 = <&otp_out>;
> + pinctrl-2 = <&otp_gpio>;
> #thermal-sensor-cells = <1>;
> rockchip,hw-tshut-temp = <95000>;
> rockchip,hw-tshut-mode = <0>;
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl
2015-10-23 11:25 ` [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl Caesar Wang
@ 2015-10-23 15:25 ` Doug Anderson
2015-10-25 7:55 ` Heiko Stübner
0 siblings, 1 reply; 10+ messages in thread
From: Doug Anderson @ 2015-10-23 15:25 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
> Add the "init" anf "sleep" pinctrl as the OTP gpio state.
> We need the OTP pin is gpio state before resetting the TSADC controller,
> since the tshut polarity will generate a high signal.
>
> "init" pinctrl property is defined by Doug's Patch[0].
>
> Patch[0]:
> https://patchwork.kernel.org/patch/7454311/
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> Changes in v4: None
> Changes in v3:
> - Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
>
> Changes in v2:
> - Add some commits for more obvious in PATCH[2/2]
>
> Changes in v1:
> - As the Doug comments, drop the thermal driver patchs since
> we can with pinctrl changing to work.
> - As the Doug's patch to add the 'init' property.
>
> arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
I realized that the subject of this patch should probably contain the
word rk3288, but I presume Heiko would rather add that himself than
for you to spin this again. ;)
-Doug
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r
2015-10-23 11:25 ` [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r Caesar Wang
@ 2015-10-23 15:25 ` Doug Anderson
0 siblings, 0 replies; 10+ messages in thread
From: Doug Anderson @ 2015-10-23 15:25 UTC (permalink / raw)
To: linux-arm-kernel
Caesar,
On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
> When we come out of system suspend state (S3) the tsadc will have been
> reset and back at its default state. While reprogramming the tsadc
> it's possible that we'll glitch the output and unintentionally cause
> the "over temperature" GPIO to be asserted. Since the over
> temperature GPIO is often hooked up to something that will cause a
> reboot or shutdown in hardware, this glitch can be catastrophic on
> some boards.
>
> We'll add support for selecting the "sleep" pinctrl state at suspend
> time. Boards can use this to effectively disable the tsadc at suspend
> time and avoid glitches when the system is resumed.
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>
> ---
>
> Changes in v4:
> - take the Doug's commit as correct decription.
>
> Changes in v3:
> - Add the pinctrl state for in the suspend/resume.
>
> Changes in v2: None
> Changes in v1: None
>
> drivers/thermal/rockchip_thermal.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Douglas Anderson <dianders@chromium.org>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl
2015-10-23 15:25 ` Doug Anderson
@ 2015-10-25 7:55 ` Heiko Stübner
2015-11-19 2:44 ` Caesar Wang
0 siblings, 1 reply; 10+ messages in thread
From: Heiko Stübner @ 2015-10-25 7:55 UTC (permalink / raw)
To: linux-arm-kernel
Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson:
> On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
> > Add the "init" anf "sleep" pinctrl as the OTP gpio state.
> > We need the OTP pin is gpio state before resetting the TSADC controller,
> > since the tshut polarity will generate a high signal.
> >
> > "init" pinctrl property is defined by Doug's Patch[0].
> >
> > Patch[0]:
> > https://patchwork.kernel.org/patch/7454311/
> >
> > Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> > Reviewed-by: Douglas Anderson <dianders@chromium.org>
> > ---
> >
> > Changes in v4: None
> >
> > Changes in v3:
> > - Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
> >
> > Changes in v2:
> > - Add some commits for more obvious in PATCH[2/2]
> >
> > Changes in v1:
> > - As the Doug comments, drop the thermal driver patchs since
> >
> > we can with pinctrl changing to work.
> >
> > - As the Doug's patch to add the 'init' property.
> >
> > arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
> > 1 file changed, 8 insertions(+), 2 deletions(-)
>
> I realized that the subject of this patch should probably contain the
> word rk3288, but I presume Heiko would rather add that himself than
> for you to spin this again. ;)
yep :-) ... no need to respin for such an easy change.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl
2015-10-25 7:55 ` Heiko Stübner
@ 2015-11-19 2:44 ` Caesar Wang
2015-11-19 4:57 ` Heiko Stuebner
0 siblings, 1 reply; 10+ messages in thread
From: Caesar Wang @ 2015-11-19 2:44 UTC (permalink / raw)
To: linux-arm-kernel
Hi Heiko,
? 2015?10?25? 15:55, Heiko St?bner ??:
> Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson:
>> On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
>>> Add the "init" anf "sleep" pinctrl as the OTP gpio state.
>>> We need the OTP pin is gpio state before resetting the TSADC controller,
>>> since the tshut polarity will generate a high signal.
>>>
>>> "init" pinctrl property is defined by Doug's Patch[0].
>>>
>>> Patch[0]:
>>> https://patchwork.kernel.org/patch/7454311/
>>>
>>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>>> Reviewed-by: Douglas Anderson <dianders@chromium.org>
>>> ---
>>>
>>> Changes in v4: None
>>>
>>> Changes in v3:
>>> - Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
>>>
>>> Changes in v2:
>>> - Add some commits for more obvious in PATCH[2/2]
>>>
>>> Changes in v1:
>>> - As the Doug comments, drop the thermal driver patchs since
>>>
>>> we can with pinctrl changing to work.
>>>
>>> - As the Doug's patch to add the 'init' property.
>>>
>>> arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
>>> 1 file changed, 8 insertions(+), 2 deletions(-)
>> I realized that the subject of this patch should probably contain the
>> word rk3288, but I presume Heiko would rather add that himself than
>> for you to spin this again. ;)
> yep :-) ... no need to respin for such an easy change
That's seem this patch didn't merge into your v4.5-armsoc/soc branch.:-)
I guess this patch should merge into kernel-4.4 since the Patch[1/3] /
[2/3] have been merged into 4.4-rc1.:-P
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
--
Thanks,
Caesar
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl
2015-11-19 2:44 ` Caesar Wang
@ 2015-11-19 4:57 ` Heiko Stuebner
0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stuebner @ 2015-11-19 4:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi Caesar,
Am Donnerstag, 19. November 2015, 10:44:02 schrieb Caesar Wang:
> ? 2015?10?25? 15:55, Heiko St?bner ??:
> > Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson:
> >> On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang <wxt@rock-chips.com> wrote:
> >>> Add the "init" anf "sleep" pinctrl as the OTP gpio state.
> >>> We need the OTP pin is gpio state before resetting the TSADC controller,
> >>> since the tshut polarity will generate a high signal.
> >>>
> >>> "init" pinctrl property is defined by Doug's Patch[0].
> >>>
> >>> Patch[0]:
> >>> https://patchwork.kernel.org/patch/7454311/
> >>>
> >>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> >>> Reviewed-by: Douglas Anderson <dianders@chromium.org>
> >>> ---
> >>>
> >>> Changes in v4: None
> >>>
> >>> Changes in v3:
> >>> - Add the "sleep" pinctrl as the gpio state in PATCH[3/3]
> >>>
> >>> Changes in v2:
> >>> - Add some commits for more obvious in PATCH[2/2]
> >>>
> >>> Changes in v1:
> >>> - As the Doug comments, drop the thermal driver patchs since
> >>>
> >>> we can with pinctrl changing to work.
> >>>
> >>> - As the Doug's patch to add the 'init' property.
> >>>
> >>> arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++--
> >>> 1 file changed, 8 insertions(+), 2 deletions(-)
> >> I realized that the subject of this patch should probably contain the
> >> word rk3288, but I presume Heiko would rather add that himself than
> >> for you to spin this again. ;)
> > yep :-) ... no need to respin for such an easy change
>
> That's seem this patch didn't merge into your v4.5-armsoc/soc branch.:-)
>
> I guess this patch should merge into kernel-4.4 since the Patch[1/3] /
> [2/3] have been merged into 4.4-rc1.:-P
thanks for the reminder :-)
It seems I didn't get a notice when the core thermal changes were merged, so
this patch seems to have dropped of my radar. It is clearly a fix for a real
issue, so I've added it to my fixes branch for 4.4.
Heiko
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-11-19 4:57 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 11:25 [PATCH v4 0/3] fix the TSHUT issue on rockchip thermal Caesar Wang
2015-10-23 11:25 ` [PATCH v4 1/3] dt-bindings: rockchip-thermal: Add the pinctrl states in this document Caesar Wang
2015-10-23 13:29 ` Rob Herring
2015-10-23 11:25 ` [PATCH v4 2/3] thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r Caesar Wang
2015-10-23 15:25 ` Doug Anderson
2015-10-23 11:25 ` [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl Caesar Wang
2015-10-23 15:25 ` Doug Anderson
2015-10-25 7:55 ` Heiko Stübner
2015-11-19 2:44 ` Caesar Wang
2015-11-19 4:57 ` Heiko Stuebner
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).