diff mbox series

dt-bindings: Correct GV11B GPU register sizes

Message ID 20201124121842.1037035-1-jonathanh@nvidia.com
State Accepted, archived
Headers show
Series dt-bindings: Correct GV11B GPU register sizes | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 2 warnings, 10 lines checked

Commit Message

Jon Hunter Nov. 24, 2020, 12:18 p.m. UTC
Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
added the GV11B GPU device-tree bindings information but incorrectly
added an additional 0 to the size of the addresses in the example.

Fixes: 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thierry Reding Nov. 30, 2020, 12:23 p.m. UTC | #1
On Tue, Nov 24, 2020 at 12:18:42PM +0000, Jon Hunter wrote:
> Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> added the GV11B GPU device-tree bindings information but incorrectly
> added an additional 0 to the size of the addresses in the example.
> 
> Fixes: 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Thierry Reding <treding@nvidia.com>
Rob Herring Dec. 7, 2020, 11:13 p.m. UTC | #2
On Tue, 24 Nov 2020 12:18:42 +0000, Jon Hunter wrote:
> Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> added the GV11B GPU device-tree bindings information but incorrectly
> added an additional 0 to the size of the addresses in the example.
> 
> Fixes: 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!

But really, it's just an example and rather than fix trivial things in 
txt bindings, convert them to schema please.
Thierry Reding Dec. 8, 2020, 1:52 p.m. UTC | #3
On Mon, Dec 07, 2020 at 05:13:52PM -0600, Rob Herring wrote:
> On Tue, 24 Nov 2020 12:18:42 +0000, Jon Hunter wrote:
> > Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> > added the GV11B GPU device-tree bindings information but incorrectly
> > added an additional 0 to the size of the addresses in the example.
> > 
> > Fixes: 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> > Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> > ---
> >  Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> 
> Applied, thanks!
> 
> But really, it's just an example and rather than fix trivial things in 
> txt bindings, convert them to schema please.

The conversion to schema of this binding was part of a series I sent out
earlier this year converting a bunch of Tegra-related bindings. At the
time you had requested that rather than converting one binding after
another it might be easier to review if whole directories were converted
at a time.

I've been struggling to find time to do so, so I wonder if you'd prefer
me to send out that series again, or perhaps in smaller chunks? That
sounds better than not doing any conversions at all because I lack the
time to do whole directories at once.

Thierry
Rob Herring Dec. 10, 2020, 10:34 p.m. UTC | #4
On Tue, Dec 8, 2020 at 7:52 AM Thierry Reding <treding@nvidia.com> wrote:
>
> On Mon, Dec 07, 2020 at 05:13:52PM -0600, Rob Herring wrote:
> > On Tue, 24 Nov 2020 12:18:42 +0000, Jon Hunter wrote:
> > > Commit 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> > > added the GV11B GPU device-tree bindings information but incorrectly
> > > added an additional 0 to the size of the addresses in the example.
> > >
> > > Fixes: 90a09178f309 ("dt-bindings: Add documentation for GV11B GPU")
> > > Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> > > ---
> > >  Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> >
> > Applied, thanks!
> >
> > But really, it's just an example and rather than fix trivial things in
> > txt bindings, convert them to schema please.
>
> The conversion to schema of this binding was part of a series I sent out
> earlier this year converting a bunch of Tegra-related bindings. At the
> time you had requested that rather than converting one binding after
> another it might be easier to review if whole directories were converted
> at a time.

That's largely just because the issues tend to be the same (both doing
the conversion and reviewing it).

> I've been struggling to find time to do so, so I wonder if you'd prefer
> me to send out that series again, or perhaps in smaller chunks? That
> sounds better than not doing any conversions at all because I lack the
> time to do whole directories at once.

The whole series is fine.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
index 662a3c8a7d29..cc6ce5221a38 100644
--- a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
+++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
@@ -97,8 +97,8 @@  Example for GV11B:
 
 	gpu@17000000 {
 		compatible = "nvidia,gv11b";
-		reg = <0x17000000 0x10000000>,
-		      <0x18000000 0x10000000>;
+		reg = <0x17000000 0x1000000>,
+		      <0x18000000 0x1000000>;
 		interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "stall", "nonstall";