OSDN Git Service

arm64: dts: qcom: sc7180: Include gpio.h in edp bridge dts
authorPhilip Chen <philipchen@chromium.org>
Fri, 29 Oct 2021 22:27:40 +0000 (15:27 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 20 Nov 2021 22:19:54 +0000 (16:19 -0600)
The edp bridge dts fragment files use the macros defined in
'dt-bindings/gpio/gpio.h'.

To help us more flexibly order the #include lines of dts files in a
board-revision-specific dts file, let's include the gpio header in the
bridge dts fragment files themselves.

Signed-off-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211029152647.v3.1.Ie17e51ad3eb91d72826ce651ca2786534a360210@changeid
arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-ti-sn65dsi86.dtsi

index a3d6954..6a84fba 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright 2021 Google LLC.
  */
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        pp3300_brij_ps8640: pp3300-brij-ps8640 {
                compatible = "regulator-fixed";
index 97d5e45..6dbf413 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright 2021 Google LLC.
  */
 
+#include <dt-bindings/gpio/gpio.h>
+
 &dsi0_out {
        remote-endpoint = <&sn65dsi86_in>;
        data-lanes = <0 1 2 3>;