Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57dfd17e authored by Laxman Dewangan's avatar Laxman Dewangan Committed by Thierry Reding
Browse files

dt-bindings: pwm: tegra: Add compatible string for Tegra186



Tegra186 has 8 different PWM controllers and each controller has only
one output. Earlier SoC generations have 4 PWM outputs per controller.

Add a device tree compatible string for Tegra186 to be able to
differentiate between the two.

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent b979ed53
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
Tegra SoC PWFM controller

Required properties:
- compatible: For Tegra20, must contain "nvidia,tegra20-pwm".  For Tegra30,
  must contain "nvidia,tegra30-pwm".  Otherwise, must contain
  "nvidia,<chip>-pwm", plus one of the above, where <chip> is tegra114,
  tegra124, tegra132, or tegra210.
- compatible: Must be:
  - "nvidia,tegra20-pwm": for Tegra20
  - "nvidia,tegra30-pwm", "nvidia,tegra20-pwm": for Tegra30
  - "nvidia,tegra114-pwm", "nvidia,tegra20-pwm": for Tegra114
  - "nvidia,tegra124-pwm", "nvidia,tegra20-pwm": for Tegra124
  - "nvidia,tegra132-pwm", "nvidia,tegra20-pwm": for Tegra132
  - "nvidia,tegra210-pwm", "nvidia,tegra20-pwm": for Tegra210
  - "nvidia,tegra186-pwm": for Tegra186
- reg: physical base address and length of the controller's registers
- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
  the cells format.