0330-BCM270X_DT-Set-correct-HDMI-HPD-GPIO-levels-for-vari.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. From 018d3d118011d7022f336f3b0d0db5aef5cbb31d Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Fri, 6 May 2016 12:42:26 -0700
  4. Subject: [PATCH 330/381] BCM270X_DT: Set correct HDMI HPD GPIO levels for
  5. various boards.
  6. The CM is left out, because I haven't found a source for how the CM's
  7. HPD is connected.
  8. Signed-off-by: Eric Anholt <eric@anholt.net>
  9. ---
  10. arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 4 ++++
  11. arch/arm/boot/dts/bcm2708-rpi-b.dts | 4 ++++
  12. arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 4 ++++
  13. arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 4 ++++
  14. 4 files changed, 16 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
  16. +++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
  17. @@ -116,6 +116,10 @@
  18. };
  19. };
  20. +&hdmi {
  21. + hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
  22. +};
  23. +
  24. / {
  25. __overrides__ {
  26. uart0 = <&uart0>,"status";
  27. --- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
  28. +++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
  29. @@ -110,6 +110,10 @@
  30. };
  31. };
  32. +&hdmi {
  33. + hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
  34. +};
  35. +
  36. / {
  37. __overrides__ {
  38. uart0 = <&uart0>,"status";
  39. --- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
  40. +++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
  41. @@ -116,6 +116,10 @@
  42. };
  43. };
  44. +&hdmi {
  45. + hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
  46. +};
  47. +
  48. / {
  49. __overrides__ {
  50. uart0 = <&uart0>,"status";
  51. --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
  52. +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
  53. @@ -161,6 +161,10 @@
  54. };
  55. };
  56. +&hdmi {
  57. + hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
  58. +};
  59. +
  60. / {
  61. chosen {
  62. bootargs = "8250.nr_uarts=1";