From nobody Thu Nov 28 08:50:24 2024 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B79611D079B; Wed, 2 Oct 2024 15:25:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882756; cv=none; b=rOixJGvMOLq4w6NDRySJmuhAh77HQUGndV1wdkxGxZBc3+Nz/XjKR/RzBdttJvEOuDQvhQ4AzowVjBuwz+huq7uja0uK7/hnunsezvuPx/sgQJ00Wi57a8DFSB8ZwMhDDIa+/sGryrLxq4XaYMR22wsfyUjZDiBVFvAyGsrlt98= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882756; c=relaxed/simple; bh=/ksrsem4yrZgkxO/BU14EtvhqZBfYeLI1LRypRJU+2M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=f4cVghc+qyB1+Ttb41ZFYB/EISBVV/eustch0Iz5Y692oevnJF2kBgZI5xE9cSrvQlRILha74Xn/51kSx+Lte8mIgQ6ONlIuUgEUcA787yt5hzJbclRvhET3yKYyFCrJLfUcmfy438hIWHkmO6ZsTqgdsMfFvWSGzsDCJLQ76mw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me; spf=pass smtp.mailfrom=getgoogleoff.me; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b=EZ1bd3+g; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b="EZ1bd3+g" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E57F923CFC; Wed, 2 Oct 2024 17:25:52 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZpMuBsTKsd5Y; Wed, 2 Oct 2024 17:25:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=getgoogleoff.me; s=mail; t=1727882752; bh=/ksrsem4yrZgkxO/BU14EtvhqZBfYeLI1LRypRJU+2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=EZ1bd3+gz3/2f7RM/51yPLVUiUdQ4zR+IkO0EMhlqYr9QX1qxyJhwhUh2I+ev503E CfyqCRsqeuqrKvoCX3YRbW+m/BtL48XFWs0wI9N6H+mKdErj942EJS9jhZdOC+rTqX eMCQpkeyYpMXeq+mmF2gOtL7c3L5Nzhqq0VJWYjau6O5egSa5YCKpFte4hyFEOgImT pNraPIq4fYeX4nYtuTpF++IKDHkX/X4ZFyI/UC8WSF2XDt9PFq1CS/8RlvWU5ymKpW QP5OxMg4KMIOZeuxg46tqtlQMW/PvOX2uMpjTrjaVB0qU0rCqlH0O4htXNpgBBLbs+ +znXaaYw9bxiQ== From: Karl Chan To: linux-arm-msm@vger.kernel.org Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Karl Chan , Krzysztof Kozlowski Subject: [PATCH v3 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Date: Wed, 2 Oct 2024 23:24:15 +0800 Message-ID: <20241002152419.30364-2-exxxxkc@getgoogleoff.me> In-Reply-To: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> References: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document linksys,jamaica for Linksys EA9350 V3. Signed-off-by: Karl Chan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index 5cb54d69af0b..98dc4819a5a2 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -338,6 +338,7 @@ properties: =20 - items: - enum: + - linksys,jamaica - qcom,ipq5018-rdp432-c2 - tplink,archer-ax55-v1 - const: qcom,ipq5018 --=20 2.46.1 From nobody Thu Nov 28 08:50:24 2024 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70BBD1D0E3E; Wed, 2 Oct 2024 15:25:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882760; cv=none; b=POchAtQmjyZAXhaKvpS0EW0EbUazpfgs0VlKtBbu0jhfY0cwcHXwH2cnFSWGXDRVU4FnWt8uE9xdqKrrsnDCdoFLvD05u/oc7QjEqklmTbLnVE6UvhnJxXFl0ORJwD750/PhaFSXR1tcRh9T7latszrjfnFNB6tTfW2a3iRlYck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882760; c=relaxed/simple; bh=ITATyZ4Z+JHoH86vgKBaXuWqxfB+G2/InUmiUueNFLA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aSqVaZUSSzftRPrQ/+eFcC9WwozmDjPaLkftBn+H71iiBfrQcIZPq4a0Y6mUWZb9jDEDjozEKPMI6pG2ACEcqA05B+cfSI+G5Wi8m7szd2W/+uJiJt4I38Il85y5i45dLjQfYHoGkxCJDStVq4AhxcsdAfjQgFhPo5MZLUUkHac= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me; spf=pass smtp.mailfrom=getgoogleoff.me; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b=jPIPXd16; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b="jPIPXd16" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0509823D44; Wed, 2 Oct 2024 17:25:56 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id tzvAgrXXORiJ; Wed, 2 Oct 2024 17:25:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=getgoogleoff.me; s=mail; t=1727882755; bh=ITATyZ4Z+JHoH86vgKBaXuWqxfB+G2/InUmiUueNFLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jPIPXd16eRR9wg0bg4AD9qSRzsZQhY8z0SyHccssez9pFwI9QNnCWnbDC+CSqy8uJ oLZZM0DRotJeirV6sqOd/cP7mXT9VN3pfMhrkPSf05TGNA0OzKbVEcS6DTC/HNN7eV eKxnGXUUl4M3WM1OX5Dyd11XvUFUEWt3WxSV3YPuwbBgPBLKJXzJrA3oQWYUq4HjW3 OR68PaE3rgi8W6DtAZbd9cOIiylurmGkGvRkIVnM+gsRq8jdCkilGPtrVtTryntv0+ QZy4sS62F069K/ED1fWOtghiukfEt0RT8PZyFXjNaFsbp/UHzdbqfEfMLxtXZEopmy I210gKnUI+Qng== From: Karl Chan To: linux-arm-msm@vger.kernel.org Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Karl Chan Subject: [PATCH v3 2/5] arm64: dts: qcom: add Linksys EA9350 V3 Date: Wed, 2 Oct 2024 23:24:16 +0800 Message-ID: <20241002152419.30364-3-exxxxkc@getgoogleoff.me> In-Reply-To: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> References: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add device tree source for Linksys EA9350 V3 which is a WiFi router based o= n the IPQ5018 SoC. As of now , only the UART,USB,USB LED,buttons is working.The front PWM LED = require the IPQ PWM driver.Therefore the PWM LED isn't configed in the tree. Also The original firmware from Linksys can only boot ARM32 kernels. As of now There seems to be no way to boot ARM64 kernels on those device. However, it is possible to use this device tree by compiling an ARM32 kerne= l instead. Signed-off-by: Karl Chan Acked-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/ipq5018-linksys-jamaica.dts | 107 ++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index ae002c7cf126..5c6fac2cc8c5 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D apq8039-t2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8094-sony-xperia-kitakami-karin_windy.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8096-ifc6640.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-linksys-jamaica.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-rdp432-c2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-tplink-archer-ax55-v1.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5332-rdp441.dtb diff --git a/arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts b/arch/ar= m64/boot/dts/qcom/ipq5018-linksys-jamaica.dts new file mode 100644 index 000000000000..2fe18733f9ca --- /dev/null +++ b/arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts @@ -0,0 +1,107 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause + +/dts-v1/; + +/* + * NOTE: The original firmware from Linksys can only boot ARM32 kernels. + * + * As of now There seems to be no way to boot ARM64 kernels on those devic= e. + * + * However, it is possible to use this device tree by compiling an ARM32 k= ernel + * instead. For clarity and build testing this device tree is maintained n= ext + * to the other IPQ5018 device trees. However, it is actually used through + * arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts + */ + +#include "ipq5018.dtsi" +#include +#include +#include + + +/ { + model =3D "Linksys EA9350 V3"; + compatible =3D "linksys,jamaica", "qcom,ipq5018"; + + aliases { + serial0 =3D &blsp1_uart1; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-0 =3D <&button_pins>; + pinctrl-names =3D "default"; + + button-0 { + label =3D "reset"; + linux,code =3D ; + gpios =3D <&tlmm 28 GPIO_ACTIVE_LOW>; + debounce-interval =3D <60>; + }; + + button-1 { + label =3D "wps"; + linux,code =3D ; + gpios =3D <&tlmm 27 GPIO_ACTIVE_LOW>; + debounce-interval =3D <60>; + }; + }; + + leds { + compatible =3D "gpio-leds"; + pinctrl-0 =3D <&led_pins>; + pinctrl-names =3D "default"; + + led-0 { + color =3D ; + function =3D LED_FUNCTION_USB; + gpios =3D <&tlmm 19 GPIO_ACTIVE_HIGH>; + }; + }; +}; + +&blsp1_uart1 { + pinctrl-0 =3D <&uart1_pins>; + pinctrl-names =3D "default"; + status =3D "okay"; +}; + +&sleep_clk { + clock-frequency =3D <32000>; +}; + +&tlmm { + button_pins: button-pins-state { + pins =3D "gpio27", "gpio28"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-pull-up; + }; + + led_pins: led-pins-state { + pins =3D "gpio19"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; +}; + +&usb { + status =3D "okay"; +}; + +&usb_dwc { + dr_mode =3D "host"; +}; + +&usbphy0 { + status =3D "okay"; +}; + +&xo_board_clk { + clock-frequency =3D <24000000>; +}; --=20 2.46.1 From nobody Thu Nov 28 08:50:24 2024 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E9281D0F59; Wed, 2 Oct 2024 15:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882762; cv=none; b=MIQBPIwNkg+pF8UJnAkMV+tGWRpiV0Ewzq/KUfghHG1RYrMHY+gHJJ+qfEuXhbDDkRh/5nVgajK1Q0vc5K1CQIlMudSomxeDMmXI8pLQew7VyZjRk5Xq5nYZKKVJTOk2iQjUlxAfRLvmv97kFb+Pwbl3MINTv+on3qDFMpP8rKU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882762; c=relaxed/simple; bh=kkbTx5Cgt7G+P6xs+9X+HNQrS0uHhWMptZCOhmNsQ4c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vmk+G1VSZw7FAJ73N8pRlU4mFKvoYa/HvD0qTDkIMYrKghM5TDoZm4WdED0oy8+AggzMUEwjTr3V3pqwYajuTZeZj+vPRuTN+W4KZXJ1sWjXbGcBFZBVsEERGudQuFq0uLqntebyLaokPRMU9WsKcfi5lxMa6mumfM55+WrHWDo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me; spf=pass smtp.mailfrom=getgoogleoff.me; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b=M0lZn6Jv; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b="M0lZn6Jv" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F0D0323D64; Wed, 2 Oct 2024 17:25:58 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id KdwXxhHzGVO7; Wed, 2 Oct 2024 17:25:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=getgoogleoff.me; s=mail; t=1727882758; bh=kkbTx5Cgt7G+P6xs+9X+HNQrS0uHhWMptZCOhmNsQ4c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=M0lZn6JvdfwnGU0vkE4YXpKnfRF4AaYIglk4IDftJFUsZjEJdwMxB2Wr7NiyJrDlm ETL1riK01hbYQChLrzgc1wtQhWIPJulkvja/HKXntje3uYqYWcbX3PWsO/fj4oyHoQ a2UadVX6Nj2i3anKEB3Qq+VCJotgIOn74sIIXL01tCHzF+u2K9sekhpXfTYT7FM27I E5C4zx2wYb8UJck2PYddM/D062FpkoM6mdACGg2lag/bR7do+emTu0UdV6P5lg2yVU jxa0GWj9a0915O3mhf7+XKqoPFxzwqvay2thVqHxmgnSzU6iS5dxps6DHLcxMiq5jQ d8Ltb/qn51Fyg== From: Karl Chan To: linux-arm-msm@vger.kernel.org Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Karl Chan Subject: [PATCH v3 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32 Date: Wed, 2 Oct 2024 23:24:17 +0800 Message-ID: <20241002152419.30364-4-exxxxkc@getgoogleoff.me> In-Reply-To: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> References: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There are some ipq5018 based device's firmware only can able to boot arm32 but the clock driver dont allow it to be compiled on arm32.Therefore this patch needed for those devices. Signed-off-by: Karl Chan Acked-by: Krzysztof Kozlowski --- drivers/clk/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index a3e2a09e2105..f13520095cc7 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -199,7 +199,7 @@ config IPQ_GCC_4019 =20 config IPQ_GCC_5018 tristate "IPQ5018 Global Clock Controller" - depends on ARM64 || COMPILE_TEST + depends on ARM || ARM64 || COMPILE_TEST help Support for global clock controller on ipq5018 devices. Say Y if you want to use peripheral devices such as UART, SPI, --=20 2.46.1 From nobody Thu Nov 28 08:50:24 2024 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B5441D0E35; Wed, 2 Oct 2024 15:26:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882764; cv=none; b=fobcl41UlrSzfZ04l5aIbjmx5GWotNXWMCDOAdkkqMueLIkJ23d47WCh1STsNB21ivY5d/UlHLu5GKAXtaKWNUKPfgdrpUNxISLsRTo3oCpvPvNhr+0b5bn4uPVZ2BxBfEm6LXhLHWCXVINx6ruy0Xzc8y6YLJU9hZVHaZVopCw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882764; c=relaxed/simple; bh=wUi5FazQh9l5954YKYfpIcL7gMt40vrjwoWJyXerfzE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Nw84TQKRDm8xMP9cypqVkI5+IEfG6+q/WpuyP3LTWUaeOOv2P+7Z8peY1lsrjT/JCTpZx3gLRGHkdcLITjnhj2IH5pg9Y388DyJ3AJxutP9v/XVm0UxBITYP1zr/gYubX3Y6x5KVGKTuMZ0k41DWElnsy4f/hJ+fRe2B1gjAo20= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me; spf=pass smtp.mailfrom=getgoogleoff.me; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b=vqzZjQ3a; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b="vqzZjQ3a" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E19E323DE0; Wed, 2 Oct 2024 17:26:01 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id wkpAyBOORHPh; Wed, 2 Oct 2024 17:26:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=getgoogleoff.me; s=mail; t=1727882761; bh=wUi5FazQh9l5954YKYfpIcL7gMt40vrjwoWJyXerfzE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vqzZjQ3asJSPPcfbKxCW/TjPl4cCi4Aih+dpIwlrBfaY9NOWyojTe0COd4xjUqdmo anBez1TSiO2axVSqKngKz+QxGOqs6ve+aEZwgLD7d5MqIgRWK+xyA3fJyBubc727Sx 7SAqJx7XG5QSfwrmRC+GrhSvMXtf5p/RnI6oO70eiL6IVgXFfO3ziygYHzjcb7UWZa 7h/ToFh8XP8HC95vY6zL4k6I4QslQiQ7ULm59xmFU1RxGgpkluTI/YHwKQhg8jbsDk b03NhEYTC5VUGv/hVYSWRx8Z45c8AhyW9MpQYi/8oBar8qlEOBmqrzEFbdg/UpV9ME O1P0pN6k+BdXQ== From: Karl Chan To: linux-arm-msm@vger.kernel.org Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Karl Chan Subject: [PATCH v3 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32 Date: Wed, 2 Oct 2024 23:24:18 +0800 Message-ID: <20241002152419.30364-5-exxxxkc@getgoogleoff.me> In-Reply-To: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> References: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There are some ipq5018 based device's firmware only can able to boot arm32 but the pinctrl driver dont allow it to be compiled on arm32.Therefore this patch needed for those devices. Signed-off-by: Karl Chan Acked-by: Krzysztof Kozlowski --- drivers/pinctrl/qcom/Kconfig.msm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfi= g.msm index 8fe459d082ed..65cec6c50994 100644 --- a/drivers/pinctrl/qcom/Kconfig.msm +++ b/drivers/pinctrl/qcom/Kconfig.msm @@ -24,7 +24,7 @@ config PINCTRL_IPQ4019 =20 config PINCTRL_IPQ5018 tristate "Qualcomm Technologies, Inc. IPQ5018 pin controller driver" - depends on ARM64 || COMPILE_TEST + depends on ARM || ARM64 || COMPILE_TEST help This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm Technologies Inc. TLMM block found on the --=20 2.46.1 From nobody Thu Nov 28 08:50:24 2024 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14FB51D1516; Wed, 2 Oct 2024 15:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882767; cv=none; b=QECv6Gx9sPoHV2k4+71Z/Szqx9whhkF3zazRTXAbKR2fIUzir7Kdrtl9c+v4iVg5BsAYOA8G9CvbWsOev9//Uet/DbRhj2HPMRJK14Q9vCmMY7hqWl168RyipqKKHM6HQDzZJS+m3o6gVUg+IE+48MnsCAUiJcXksArLfr6wV50= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727882767; c=relaxed/simple; bh=UUNAgAv1R6DLPtknbTLKqD48NRSgGCvWXZNp6Cu8omw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FPWUHiOZtW/pYAjh6E1CNEyIQe/PFrNrrrkoRzBFB0KkMRDQpa4lnCdyMSJsHVzm/KDa2hbY0fFTJtJ9DFZPJnPj9BrSD0pPPzXZzg3AsajXWG4sj9YthtnYOWCFNCbDg0TxCp8yyRbxY4WSkZaCZ2WOPyw3gQkVYuOPS0VnOTI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me; spf=pass smtp.mailfrom=getgoogleoff.me; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b=TWpgOz8/; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=getgoogleoff.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=getgoogleoff.me header.i=@getgoogleoff.me header.b="TWpgOz8/" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D321C23CFC; Wed, 2 Oct 2024 17:26:04 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id uAgeXao0KEt7; Wed, 2 Oct 2024 17:26:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=getgoogleoff.me; s=mail; t=1727882764; bh=UUNAgAv1R6DLPtknbTLKqD48NRSgGCvWXZNp6Cu8omw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TWpgOz8/e+xXXqWT8xZIektJSbGqGBBX9jNcKz7HWicYDdRKJZGydsNNJCjLQ5+5d 3fpoty6M7ghz6RxiKoTM/eOVfiX/vUhv47tOStEtJRkC9ichfrJMgJGeDspkmbFBzY i/F+gVdAI7Jwiz6FujPhbt9kDYNffO49c60I8lkGyhA+WgC6jZNYWhmUmEcn3e/oRR BVllIytbNaaKdIr9EiD4jzdhcvQLvt0SqamOplFO8dqg9xKudcpYNFzIph3jxprBFo /DN5ziIdPzo/FS1w6N6L8LKGsf0CLtHiqO5JsZkf/H4V9AO7s3K4iSlS9pbguzm+0S 3B78w3mKzBKFw== From: Karl Chan To: linux-arm-msm@vger.kernel.org Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Karl Chan , Krzysztof Kozlowski Subject: [PATCH v3 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Date: Wed, 2 Oct 2024 23:24:19 +0800 Message-ID: <20241002152419.30364-6-exxxxkc@getgoogleoff.me> In-Reply-To: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> References: <20241002152419.30364-1-exxxxkc@getgoogleoff.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Build the Linksys EA9350 V3 device trees from the arm64 tree together with = the ARM32 include to allow booting this device on ARM32. The approach to include device tree files from other architectures is inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is used to build the device tree for both ARM32 and ARM64. Signed-off-by: Karl Chan Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom/Makefile | 1 + arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makef= ile index f06c6d425e91..147dbeb30a6a 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D \ qcom-ipq4019-ap.dk04.1-c3.dtb \ qcom-ipq4019-ap.dk07.1-c1.dtb \ qcom-ipq4019-ap.dk07.1-c2.dtb \ + qcom-ipq5018-linksys-jamaica.dtb \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ qcom-msm8226-microsoft-dempsey.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts b/arch= /arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts new file mode 100644 index 000000000000..9a6ad767ebd7 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts @@ -0,0 +1,2 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +#include --=20 2.46.1