Message ID | 1437378869-10451-4-git-send-email-mperttunen@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Mikko, On 20 July 2015 at 08:54, Mikko Perttunen <mperttunen@nvidia.com> wrote: > This adds device tree binding documentation for the Video Image > Compositor (VIC) present on Tegra124 and newer SoC's. > > Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> > --- > .../devicetree/bindings/gpu/nvidia,tegra20-host1x.txt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt > index 009f4bf..1328f3f 100644 > --- a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt > +++ b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt > @@ -240,6 +240,21 @@ of the following host1x client modules: > - dpaux > - vdd-supply: phandle of a supply that powers the DisplayPort link > > +- vic: Video Image Compositor > + - compatible: For Tegra124, must contain "nvidia,tegra124-vic". Otherwise, > + must contain '"nvidia,<chip>-vic", "nvidia,tegra124-vic"', where > + <chip> is tegra132. Did you make a typo here, or is "tegra124" string really used to identify the tegra132 chips ? Thanks Emil
On 07/20/2015 08:20 PM, Emil Velikov wrote: > Hi Mikko, > > On 20 July 2015 at 08:54, Mikko Perttunen <mperttunen@nvidia.com> wrote: >> This adds device tree binding documentation for the Video Image >> Compositor (VIC) present on Tegra124 and newer SoC's. >> >> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> >> --- >> .../devicetree/bindings/gpu/nvidia,tegra20-host1x.txt | 15 +++++++++++++++ >> 1 file changed, 15 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt >> index 009f4bf..1328f3f 100644 >> --- a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt >> +++ b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt >> @@ -240,6 +240,21 @@ of the following host1x client modules: >> - dpaux >> - vdd-supply: phandle of a supply that powers the DisplayPort link >> >> +- vic: Video Image Compositor >> + - compatible: For Tegra124, must contain "nvidia,tegra124-vic". Otherwise, >> + must contain '"nvidia,<chip>-vic", "nvidia,tegra124-vic"', where >> + <chip> is tegra132. > Did you make a typo here, or is "tegra124" string really used to > identify the tegra132 chips ? The idea here is that the compatible string must either be "nvidia,tegra124-vic" if the board is a Tegra124 chip. If it's not, the board must be a Tegra132 (though we probably should add Tegra210 here too) it must be "nvidia,tegra132-vic", "nvidia,tegra124-vic" to indicate that while the hardware is compatible with the Tegra124 VIC (and thus can use the same driver and we don't need to update the compatible list in the driver), it is actually the Tegra132 version in case the driver needs to apply some quirks. Other Tegra bindings use the same system. > > Thanks > Emil Thanks, Mikko
diff --git a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt index 009f4bf..1328f3f 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt @@ -240,6 +240,21 @@ of the following host1x client modules: - dpaux - vdd-supply: phandle of a supply that powers the DisplayPort link +- vic: Video Image Compositor + - compatible: For Tegra124, must contain "nvidia,tegra124-vic". Otherwise, + must contain '"nvidia,<chip>-vic", "nvidia,tegra124-vic"', where + <chip> is tegra132. + - reg: Physical base address and length of the controller's registers. + - interrupts: The interrupt outputs from the controller. + - clocks: Must contain an entry for each entry in clock-names. + See ../clocks/clock-bindings.txt for details. + - clock-names: Must include the following entries: + - vic: clock input for the VIC hardware + - resets: Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. + - reset-names: Must include the following entries: + - vic + Example: / {
This adds device tree binding documentation for the Video Image Compositor (VIC) present on Tegra124 and newer SoC's. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> --- .../devicetree/bindings/gpu/nvidia,tegra20-host1x.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+)