mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
45f5115253
Removed upstreamed: backport-5.15/743-v6.3-0005-net-dsa-b53-mmap-add-phy-ops.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.109&id=357fa038d93d0e9159a0f0d45bae0f8654e2ade5 Build system: x86_64 Build-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From 82ceb86227b1fc15c76d5fc691b2bf425f1a63b3 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Mon, 7 Nov 2022 10:29:30 +0100
|
|
Subject: [PATCH] arm64: dts: qcom: hk01: use GPIO flags for tlmm
|
|
|
|
Use respective GPIO_ACTIVE_LOW/HIGH flags for tlmm GPIOs instead of
|
|
harcoding the cell value.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
Link: https://lore.kernel.org/r/20221107092930.33325-3-robimarko@gmail.com
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
|
|
@@ -4,6 +4,7 @@
|
|
*/
|
|
#include "ipq8074.dtsi"
|
|
#include "pmp8074.dtsi"
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
model = "Qualcomm Technologies, Inc. IPQ8074-HK01";
|
|
@@ -50,12 +51,12 @@
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
- perst-gpios = <&tlmm 61 0x1>;
|
|
+ perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&pcie1 {
|
|
status = "okay";
|
|
- perst-gpios = <&tlmm 58 0x1>;
|
|
+ perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&pcie_qmp0 {
|