| Message ID | 20250903-tegra210-speedo-v2-1-89e6f86b8942@gmail.com |
|---|---|
| State | Superseded |
| Headers | show |
| Series | Properly Limit Tegra210 Clock Rates | expand |
On Wed, Sep 3, 2025 at 2:30 PM Aaron Kling via B4 Relay <devnull+webgeek1234.gmail.com@kernel.org> wrote: > > From: Aaron Kling <webgeek1234@gmail.com> > > The dfll driver generates opp tables based on internal CVB tables > instead of using dt opp tables. Some devices such as the Jetson Nano > require limiting the max frequency even further than the corresponding > CVB table allows in order to maintain thermal limits. > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com> > --- > Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > index f7d347385b5775ddd702ecbb9821acfc9d4b9ff2..8a049b684f962f2b06209a47866711b92c15c085 100644 > --- a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > @@ -70,6 +70,9 @@ Required properties for PWM mode: > - dvfs_pwm_enable: I/O pad configuration when PWM control is enabled. > - dvfs_pwm_disable: I/O pad configuration when PWM control is disabled. > > +Optional properties for limiting frequency: > +- nvidia,dfll-max-freq: Maximum scaling frequency in hertz. > + > Example for I2C: > > clock@70110000 { > > -- > 2.50.1 > > Yes, I know this still needs to be converted to json before it can be merged, but I wanted to get an updated revision of this and another series that depends on it out for everything else to be reviewed. I'd still like to see Thierry's conversion pushed, then I can stack this on top of that. Aaron
On Wed, Sep 03, 2025 at 02:30:16PM -0500, Aaron Kling wrote: > The dfll driver generates opp tables based on internal CVB tables > instead of using dt opp tables. Some devices such as the Jetson Nano > require limiting the max frequency even further than the corresponding > CVB table allows in order to maintain thermal limits. > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com> > --- > Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > index f7d347385b5775ddd702ecbb9821acfc9d4b9ff2..8a049b684f962f2b06209a47866711b92c15c085 100644 > --- a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > @@ -70,6 +70,9 @@ Required properties for PWM mode: > - dvfs_pwm_enable: I/O pad configuration when PWM control is enabled. > - dvfs_pwm_disable: I/O pad configuration when PWM control is disabled. > > +Optional properties for limiting frequency: > +- nvidia,dfll-max-freq: Maximum scaling frequency in hertz. Use standard unit suffix: nvidia,dfll-max-hz > + > Example for I2C: > > clock@70110000 { > > -- > 2.50.1 >
On Wed, Sep 03, 2025 at 02:30:16PM -0500, Aaron Kling wrote: > The dfll driver generates opp tables based on internal CVB tables > instead of using dt opp tables. Some devices such as the Jetson Nano > require limiting the max frequency even further than the corresponding > CVB table allows in order to maintain thermal limits. > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com> > --- > Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > index f7d347385b5775ddd702ecbb9821acfc9d4b9ff2..8a049b684f962f2b06209a47866711b92c15c085 100644 > --- a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt > @@ -70,6 +70,9 @@ Required properties for PWM mode: > - dvfs_pwm_enable: I/O pad configuration when PWM control is enabled. > - dvfs_pwm_disable: I/O pad configuration when PWM control is disabled. > > +Optional properties for limiting frequency: > +- nvidia,dfll-max-freq: Maximum scaling frequency in hertz. Use standard unit suffix: nvidia,dfll-max-hz > + > Example for I2C: > > clock@70110000 { > > -- > 2.50.1 >
diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt index f7d347385b5775ddd702ecbb9821acfc9d4b9ff2..8a049b684f962f2b06209a47866711b92c15c085 100644 --- a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt @@ -70,6 +70,9 @@ Required properties for PWM mode: - dvfs_pwm_enable: I/O pad configuration when PWM control is enabled. - dvfs_pwm_disable: I/O pad configuration when PWM control is disabled. +Optional properties for limiting frequency: +- nvidia,dfll-max-freq: Maximum scaling frequency in hertz. + Example for I2C: clock@70110000 {