From patchwork Thu Jan 19 14:42:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108236 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75F02C00A5A for ; Thu, 19 Jan 2023 14:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yr0LtRHXLzh4HgV4VG0eFpOwY3OHVo085PmnzcmU0fQ=; b=EqGQCUFbRCT2DB oTOuajPebRm5WowZgSqRMv6cxspbkIleffGR7WfHmz6g7OG3zJeqtTXK9zcMvQKC9KEPXok0zObPB H6jdEVWmzfRMi6K0h5BEJZs8LPdPJEq/XkdCJ66uUxNJqqUVo3YmzQexd72UoUz0pqeWq/h5/LW5a D/HfE2I3WADWCt/YFaS81YeOSelalBU9AvKF2qDfwc5abBKdqzdwAIAqXdOOsTTd5ciEdZSSAVTPw +CH9OwBsmOdpaxVv+Mj2WlcM/nI4M5CLNzoJ/Leu+/DHciGLj6qudgcF42SgPUOt6Ub9W9NpdbexD y77QmqwkSKirTqUxM+cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWGX-005SbI-E3; Thu, 19 Jan 2023 14:51:45 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW7s-005Ohf-95 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139368; x=1705675368; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MxvAgWwx3j8bs/X7hks889d23qZmaIa2T4rMGUUlcGE=; b=q0VCy1+1hN/XoK2e2Xf7FGv15HC/8okiMKyJA7R8MV9v/CkOaGzrD3jI 2VdAxJFg30Y4hlZtr1/ju5LvayfKO3pvMLbXsxaFRGgg7/0UilShVa1nA ArXh+ZCGYz0CE0QBlwvSYzR7qY0PwhkJrUuz8CKGfoXBMsDZ6Xfgaxdvl VX78DgZfSK1TerCZ6UqTpNOQ7n4zp/R494kr6m/PmPv1EEitV7Ffibct9 v5KcfNPFPbcX36j8bUo6a5seBQRfsc9McTp6Ot4D4llZEG8kpj7M8/kxu TLiQWerK1RJF73M3j4BaNeQtt1lEIuwEiyXrA4PvoPekkfCzBfTuaEiMu Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537302" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:43 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139363; x=1705675363; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MxvAgWwx3j8bs/X7hks889d23qZmaIa2T4rMGUUlcGE=; b=aSTjBsEtY/VD7iKipXUekoChgXfUDK04nhTpZqbVujOTk0YEil3TsogR Q1VZOvI6SQg8SDxwa6FXjS6xjS0jrthRb3fWtBhGtuys3WnxI+syCNOLR MMSYGIlpmCsb5lSDHuCsh4A1Lc29gxPryHXTfafranMkuQXzPd5+voACU BarJGnQOBky/z/loXrdx+NJ/05yaoGNsu30K1+x4g+8bd/eRn4j1f3McO cZi+kgkL5hTNw1Sbt5G1j8rdxf/kvAEj0AUY+pnWJiL7ysW/ANDyZhXar 3VgTdxXq0ZlqViHS+7vcpOzk3/Xvo+7Ob7i54yhxwLOwFqeeq0G0F4GX9 A==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537300" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 34949280072; Thu, 19 Jan 2023 15:42:43 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Matthias Schiffer , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexander Stein Subject: [PATCH 1/9] dt-bindings: arm: fsl: add TQ-Systems LS1021A board Date: Thu, 19 Jan 2023 15:42:28 +0100 Message-Id: <20230119144236.3541751-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064248_785102_EE87F6B5 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Matthias Schiffer TQMLS102xA is a SOM family using NXP LS1021A CPU family. MBLS102xA is an evaluation mainbord for this SOM. Signed-off-by: Matthias Schiffer Signed-off-by: Alexander Stein --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 3ba354578e8f9..b54a920934c9d 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1164,6 +1164,13 @@ properties: - fsl,ls1021a-twr - const: fsl,ls1021a + - description: TQ-Systems TQMLS1021A SoM on MBLS102xA board + items: + - enum: + - tq,ls1021a-tqmls1021a-mbls102xa + - const: tq,ls1021a-tqmls1021a + - const: fsl,ls1021a + - description: LS1028A based Boards items: - enum: From patchwork Thu Jan 19 14:42:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108239 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41A40C00A5A for ; Thu, 19 Jan 2023 14:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jRh5ioJr07RF9fBb1K2RnnvZrrTUvT4sH4dx8DP6ESQ=; b=dhh0sB3JPKrgUb UgIpXbllHFhQamRog6AVXXqwlYhPp9KgwNxLh8M3GKOr3ioZ17sAeEpJpRHPSp0RVPtT6SV3fs19s ffZ0jh3+J02DATJI3J0WthZ6RGFnc7ONsbosMg3xJu/Vi/iYltNa1an4iC98rdBLjxuMgI7XyqemZ a9py9Z9j1zUlWIPii+r4zHomS4hNU0Wv2twpjZKnWjyyF2EKy+ErTnfo02gkpWbp0V7KA137QFCu8 N/cmaP+Axiexje2RWqQHgIQENaA9jxQvikDLOPkJkyywZLyeimEzgcOpqtXXKJq+tub8+6JLy05hq h1FibfhqkHPEwyJPuurw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWIP-005TIA-Cn; Thu, 19 Jan 2023 14:53:42 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW7v-005Ohf-Am for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139371; x=1705675371; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gNP7kSC8H0LiRxjuUUMqBtOnSFCXLqCWZXbiQYDH2i4=; b=Rw9cmrTlSmf/Ca08/x7tdbVKIFbsO2l8eXdyh/tUPRou7Bi/BEMkhpON 7oT70BolMXalL45ZKoFe980jIKT1VzB90Z+PvLJB1tvlNcX4P3Rq6y1pv RNzI31DVPLkcrD1nA33Js2mQwqzal0laFMRgf8psGiHT3Wm9fQ/YJuBbE 4928ppo/5/dLORIhob87SmqyrbOpgFEsKapRqsdKkUJbymRftaDa/M06w StrgWaPAwES/K3OOhSvNA6BY7QbrOiC2XNffcNLReSFlzoSzhjFsJRfKr Mx9GLeMueH/WvdfuEOMTfZpOn5dVsOp2T1v2fVJiFlrjQ0Jk5eADijbLP w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537304" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:43 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139363; x=1705675363; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gNP7kSC8H0LiRxjuUUMqBtOnSFCXLqCWZXbiQYDH2i4=; b=eH2RlBpp3IvT/odqdj1BwcWhHlaTd+/zW+aKrvB8msUVBFRGx6G9idl/ Qw0eittYuq4wVg7yK98XOxieVxKszboP+0wcHLOJMEkqvGaiunl8KKVQC 9dhAG8NwHFbgGO6KUm/8vSF7sllyskgYIcZZfZ76SJ1zOhAXBP8G8jwsk aKC64nQrKY9pSG8bUoCKng52+ONgGh7nouTMGh5dk4yGSg3NUQoU80IeR oMXLslyqLIME0KMsPPavIJGOJqzv2GX/OYm+PX93EfdF5SDjU+C1y8KR5 HcVHH/K/kkqEAjgKmoIw3plk2Y4GYPln6YKN4suaQPyHypr2RSFrzq/zX A==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537303" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 6F2D4280056; Thu, 19 Jan 2023 15:42:43 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/9] ARM: dts: ls1021a: add TQ-Systems MBLS102xA device tree Date: Thu, 19 Jan 2023 15:42:29 +0100 Message-Id: <20230119144236.3541751-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064251_775050_A811D0ED X-CRM114-Status: GOOD ( 19.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree for the MBLS102xA mainboard with TQMLS1021A SoM. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/ls1021a-tqmls1021a-mbls1021a.dts | 409 ++++++++++++++++++ arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi | 93 ++++ 3 files changed, 503 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a.dts create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0c07867aeabe..44b5ed44b13d6 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -802,6 +802,7 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-iot.dtb \ ls1021a-moxa-uc-8410a.dtb \ ls1021a-qds.dtb \ + ls1021a-tqmls1021a-mbls1021a.dtb \ ls1021a-tsn.dtb \ ls1021a-twr.dtb dtb-$(CONFIG_SOC_VF610) += \ diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a.dts b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a.dts new file mode 100644 index 0000000000000..21da171b9f38e --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a.dts @@ -0,0 +1,409 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2013-2014 Freescale Semiconductor, Inc. + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; + +#include +#include +#include +#include +#include +#include "ls1021a-tqmls1021a.dtsi" + +/ { + model = "TQMLS102xA SOM on MBLS102xA"; + compatible = "tq,ls1021a-tqmls1021a-mbls102xa", "tq,ls1021a-tqmls1021a", "fsl,ls1021a"; + + audio_mclk: audio-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; + + backlight_dcu: backlight { + compatible = "gpio-backlight"; + gpios = <&pca9530 0 GPIO_ACTIVE_LOW>; + status = "disabled"; + }; + + gpio-keys { + compatible = "gpio-keys"; + autorepeat; + + switch-1 { + label = "S6"; + linux,code = ; + gpios = <&pca9554_0 0 GPIO_ACTIVE_LOW>; + }; + + btn2: switch-2 { + label = "S7"; + linux,code = ; + gpios = <&pca9554_0 1 GPIO_ACTIVE_LOW>; + }; + + switch-3 { + label = "S8"; + linux,code = ; + gpios = <&pca9554_0 2 GPIO_ACTIVE_LOW>; + }; + }; + + gpio_leds: gpio-leds { + compatible = "gpio-leds"; + + led-0 { + color = ; + function = LED_FUNCTION_STATUS; + function-enumerator = <0>; + gpios = <&pca9554_2 4 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + led-1 { + color = ; + function = LED_FUNCTION_STATUS; + function-enumerator = <1>; + gpios = <&pca9554_2 5 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + led-2 { + color = ; + function = LED_FUNCTION_STATUS; + function-enumerator = <2>; + gpios = <&pca9554_2 6 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + led-3 { + color = ; + function = LED_FUNCTION_HEARTBEAT; + function-enumerator = <0>; + gpios = <&pca9554_2 7 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + }; + + lvds_encoder: lvds-encoder { + compatible = "ti,sn75lvds83", "lvds-encoder"; + power-supply = <®_3p3v>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lvds_encoder_in: endpoint {}; + }; + + port@1 { + reg = <1>; + + lvds_encoder_out: endpoint {}; + }; + }; + }; + + reg_1p2v: regulator-1p2v { + compatible = "regulator-fixed"; + regulator-name = "1P2V"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + vin-supply = <®_3p3v>; + }; + + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + hdmi_out: hdmi { + compatible = "hdmi-connector"; + type = "a"; + ddc-i2c-bus = <&i2c0>; + status = "disabled"; + + port { + hdmi_in: endpoint { + remote-endpoint = <&sii9022a_out>; + }; + }; + }; + + display: panel { + backlight = <&backlight_dcu>; + enable-gpios = <&pca9554_1 3 GPIO_ACTIVE_HIGH>; + status = "disabled"; + + port { + panel_in: endpoint {}; + }; + }; + + sound { + compatible = "fsl,imx-audio-tlv320aic32x4"; + model = "ls1021a-mbls1021a-tlv320aic32"; + ssi-controller = <&sai1>; + audio-codec = <&tlv320aic32x4>; + }; + +}; + +&can0 { + status = "okay"; + xceiver-supply = <®_3p3v>; +}; + +&can1 { + status = "okay"; + xceiver-supply = <®_3p3v>; +}; + +&dspi0 { + bus-num = <0>; + status = "okay"; +}; + +&enet0 { + phy-handle = <&rgmii_phy0c>; + phy-mode = "rgmii-id"; + mac-address = [ 00 00 00 00 00 00 ]; + status = "okay"; +}; + +&enet1 { + tbi-handle = <&tbi1>; + phy-handle = <&sgmii_phy03>; + phy-mode = "sgmii"; + mac-address = [ 00 00 00 00 00 00 ]; + status = "okay"; +}; + +&enet2 { + phy-handle = <&rgmii_phy04>; + phy-mode = "rgmii-id"; + mac-address = [ 00 00 00 00 00 00 ]; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + tlv320aic32x4: audio-codec@18 { + compatible = "ti,tlv320aic32x4"; + reg = <0x18>; + clocks = <&audio_mclk>; + clock-names = "mclk"; + ldoin-supply = <®_3p3v>; + iov-supply = <®_3p3v>; + }; + + pca9554_0: gpio-expander@20 { + compatible = "nxp,pca9554"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio0>; + interrupts = <24 IRQ_TYPE_EDGE_FALLING>; + interrupt-controller; + #interrupt-cells = <2>; + vcc-supply = <®_3p3v>; + gpio-line-names = "BUTTON0", "BUTTON1", + "BUTTON2", "EMMC_SEL", + "DIP2", "DIP3", + "EXT_TOUCH_INT", "GPIO_1"; + }; + + pca9554_1: gpio-expander@21 { + compatible = "nxp,pca9554"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio0>; + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; + interrupt-controller; + #interrupt-cells = <2>; + vcc-supply = <®_3p3v>; + gpio-line-names = "PCIE_PWR_EN", "MPCIE_DISABLE#", + "MPCIE_WAKE#", "LCD_BLT_EN", + "LCD_PWR_EN", "EC1_PHY_PWDN", + "EC3_PHY_PWDN", "SGMII_PHY_PWDN"; + }; + + pca9554_2: gpio-expander@22 { + compatible = "nxp,pca9554"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&extirq>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + interrupt-controller; + #interrupt-cells = <2>; + vcc-supply = <®_3p3v>; + gpio-line-names = "MUX_SEL0", "MUX_SEL1", + "MUX_SEL2", "MUX_SEL3", + "V95", "V96", "V97", "V98"; + }; + + sii9022a: hdmi-transmitter@3b { + compatible = "sil,sii9022"; + reg = <0x3b>; + iovcc-supply = <®_3p3v>; + cvcc12-supply = <®_1p2v>; + interrupts = ; + #sound-dai-cells = <0>; + sil,i2s-data-lanes = <0>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sii9022a_in: endpoint {}; + }; + + port@1 { + reg = <1>; + + sii9022a_out: endpoint { + remote-endpoint = <&hdmi_in>; + }; + }; + }; + }; + + stmpe811: touchscreen@41 { + compatible = "st,stmpe811"; + reg = <0x41>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-parent = <&gpio0>; + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <®_3p3v>; + vio-supply = <®_3p3v>; + status = "okay"; + + stmpe_gpio { + compatible = "st,stmpe-gpio"; + gpio-controller; + #gpio-cells = <2>; + /* GPIO 5-7 used for touch */ + st,norequest-mask = <0xf0>; + gpio-line-names = "GPIO_ADC_I2C1_1", + "GPIO_ADC_I2C1_2", + "GPIO_ADC_I2C1_3", + "GPIO_ADC_I2C1_4"; + }; + + stmpe_touchscreen { + compatible = "st,stmpe-ts"; + status = "disabled"; + }; + }; + + pca9530: leds@60 { + compatible = "nxp,pca9530"; + reg = <0x60>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "PWM_0", "PWM_1"; + + gpio_pwm_0 { + label = "pca9530:pwm0"; + type = ; + }; + + gpio_pwm_1 { + label = "pca9530:pwm1"; + type = ; + }; + }; + +}; + +&i2c1 { + status = "okay"; +}; + +&lpuart0 { + status = "okay"; + linux,rs485-enabled-at-boot-time; +}; + +&mdio0 { + sgmii_phy03: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x03>; + ti,fifo-depth = ; + ti,clk-output-sel = ; + ti,dp83867-rxctrl-strap-quirk; + }; + + rgmii_phy04: ethernet-phy@4 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x04>; + ti,rx-internal-delay = ; + ti,tx-internal-delay = ; + ti,fifo-depth = ; + ti,clk-output-sel = ; + }; + + rgmii_phy0c: ethernet-phy@c { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x0c>; + ti,rx-internal-delay = ; + ti,tx-internal-delay = ; + ti,fifo-depth = ; + ti,clk-output-sel = ; + }; +}; + +&pwm6 { + status = "okay"; +}; + +&pwm7 { + status = "okay"; +}; + +&sai1 { + status = "okay"; +}; + +&sata { + /delete-property/ dma-coherent; + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb3 { + /* + * Although DR connector, VBUS is always driven, so + * restrict to host mode. + */ + dr_mode = "host"; + status = "okay"; +}; diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi new file mode 100644 index 0000000000000..1ab518c489252 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi @@ -0,0 +1,93 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2013-2014 Freescale Semiconductor, Inc. + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +#include "ls1021a.dtsi" + +/ { + model = "TQMLS102xA SOM"; + compatible = "tq,ls1021a-tqmls1021a", "fsl,ls1021a"; + + reg_3p3v_som: regulator-3p3v-som { + compatible = "regulator-fixed"; + regulator-name = "3P3V_SOM"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; +}; + +&esdhc { + compatible = "fsl,esdhc", "fsl,ls1021a-esdhc"; + /* e-MMC over 8 data lines */ + bus-width = <8>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + mc34vr500: pmic@8 { + reg = <0x08>; + status = "disabled"; + }; + + pmc0: pmc@11 { + reg = <0x11>; + status = "disabled"; + }; + + sa56004: temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <®_3p3v_som>; + }; + + adm1069: supervisor@4f { + reg = <0x4f>; + status = "disabled"; + }; + + rtc0: rtc@51 { + compatible = "nxp,pcf85063a"; + quartz-load-femtofarads = <12500>; + reg = <0x51>; + }; + + m24c64_54: eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + pagesize = <32>; + read-only; + vcc-supply = <®_3p3v_som>; + }; +}; + +&mdio0 { + tbi1: tbi-phy@8 { + reg = <0x8>; + device_type = "tbi-phy"; + }; +}; + +&scfg { + reg = <0x0 0x1570000 0x0 0x0e00>; +}; + +&qspi { + status = "okay"; + + qflash0: flash@0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + reg = <0>; + }; +}; From patchwork Thu Jan 19 14:42:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B4CDC004D4 for ; Thu, 19 Jan 2023 14:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TsI8MPpBceoj/N0lxHoy7kvrqfI56c/pjJjOQkRqCLY=; b=1U+mx2XYmRu0by tPibEw6guXeiK7Qdqt6pSb/b/eSqT7ZdlyTvH3VYIkmBWdKxijQyEsJXCKaMbnRSbqBTQ9ai7hV+9 jHPJlJGQmfiUduF/y0yYdX9OFXGNS6uutsSiP7H1CsayAfbJSHAp2OELXgn7UA8mnSIRrsIwvChrH U0uwlJgdS+H/y2XxaG1PSqeqD2ZGrqZuVPyJ7t7Z4xOynoT26deJxAD5Kv1UhHhlw2Knp3AyXjpv3 MWYChHwqN/rQlC6iRdHMHMpWkIawKXWVSz7BjTVgwfB+Ixqi9ZDiodFmUDiohScAFzVpkOovpmub2 UYNTkLnTMtIDokXmAjqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWJI-005Tdq-Pb; Thu, 19 Jan 2023 14:54:39 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW7w-005Okj-M4 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139372; x=1705675372; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uB8uB86LuN3HgbMx7REOvUOru6ul+IWGzmbtPf1DUuY=; b=Yr2Sh+NnSx+xcB+vLTquWnxERjsjaZ+vBwoH70R3FHXLnfW+8JjybwLA ZkS9uFnJGdvdl/k4/G8L3Zgk2c0mTuBKUJV+fNhMWrfgGMZrL03baGXLo tNqxKwnKHusTofGKFleeklRmeHWP7FBZ/1qMZEINsR+iG3wipxmYXhBxk LmMEDrZjUTxl0+MFhaYX4/QPvM+Ui7is2cz0SaiaAaNHdUKXSu3u/RuoR /YBtzsmmpYWrXc/H+psrXTdyH4Wxjb0CrD6vK5+W/T/CnJOJsZxE+NCmB S+I0g6UsM8KPufIW7Y6dIS6wDBSLKJps0taDFPyeMYhBPm09CU001PvfJ w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537306" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:44 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139364; x=1705675364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uB8uB86LuN3HgbMx7REOvUOru6ul+IWGzmbtPf1DUuY=; b=T453chmKJ7trjLS7S+Sveu+cDGz8nOTBobVAnKc/EdrXV0Clb+G3bGhx oOlkPDf6PSLFpupRGgkrG2YGEC+f1RBxRUxM39T6zO/rhM7azP+ewJJei IHJZNffMTia3qw1sicKROb5MOiCg1PDJ7oSQxezaATPc8zBrq0EZMNm61 1vvypFuLkc75B6gG1ghmqc/i3dCXSxX5sC/woOOoEiWVndEeeyyzVeb4+ YLB/2TBqxOKp/+qpaltVYxGZAdMPU1SRh6Pmk//NgfvYGr56EBmrvBZ/j UAoR4opmJZsCGLGIVY/Nt9ErKQkj1PIPbSJpXpktOVezNv5LarfS1g69b Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537305" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id A9496280072; Thu, 19 Jan 2023 15:42:43 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] ARM: dts: ls1021a: add TQMLS1021A flash partition layout Date: Thu, 19 Jan 2023 15:42:30 +0100 Message-Id: <20230119144236.3541751-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064253_088689_7D174693 X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The bootloader does not add the partitions into DT, so add them manually here. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi index 1ab518c489252..2e71572245303 100644 --- a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi @@ -89,5 +89,36 @@ qflash0: flash@0 { spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; reg = <0>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + uboot@0 { + label = "U-Boot-PBL"; + reg = <0x0 0xe0000>; + }; + + env@e0000 { + label = "U-Boot Environment"; + reg = <0xe0000 0x10000>; + }; + + dtb@f0000 { + label = "DTB"; + reg = <0xf0000 0x10000>; + }; + + linux@100000 { + label = "Linux"; + reg = <0x100000 0x700000>; + }; + + rootfs@800000 { + label = "RootFS"; + reg = <0x800000 0x3800000>; + }; + }; }; }; From patchwork Thu Jan 19 14:42:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85D4AC46467 for ; Thu, 19 Jan 2023 14:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lP4VULUd1o7hX22ygdTnzIkREzrALvwBftgtnthNEYU=; b=A/iUTYvu64yogj y9F3fbhk/Q0MivgTk3zgg3PEKdptBg/0PhTaN01VeFNE4sJf0+mtEkKLhy2ZS4xatU4s3uAaveQOp ei0DPlwk1LbSJ/U7VEzbEei/LXxjvI77gvN5h2WIaFUnT632ePSnaMjDWfwH94dQ1F2E8wwJGk3jF F6T4O3Sl1KzNdgy6JyTX+WFU82m3pxWLrxIOjI9dByv+MUK97clZcetwXN0OUbDGm0jWvSOGRJsbg s567V19X3GTtIdWBL/mxmBgaXKDkcKO9lMweQPdM3qAt3L7chZQRJWdlFzUvulS9FaAL8HI4O4Kz2 MsyUHHvKGLk4nfn/ojDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWKC-005Tzc-NL; Thu, 19 Jan 2023 14:55:33 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW7x-005Oge-JA for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139373; x=1705675373; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TLChsiQKUwXxBVjYX7YtnK1mxpQTic48Ryib6VjfEV4=; b=DQGvlYuAZhKpwzeyHk1QfaHchueHzBIrs2UJwyQ4E/u3gwufkdOLgaCe S35RR1aPe5bc2H3y8fLF6NBZ9mQGJXsX0Mgafhk0/ZcvZKQWd8OMnEWLJ T2wp6FJar8OPkxqd6mV9u5rCQ0rfeInOXcG1nmqGNFgT09+h8ZrpCbhkt EVrIdp1/b+yAeEc5wLC1UVFD0x3jWqjI+sE2vdDii1f4X2zdUfkqMT7VC 0QPkv+BwirldXc0qxC/hUfytuYWALmPYTVX4PzNdhtZ7YP+xoxeglgzHM Rn3EJg0whRFL20vkxb9ZDG9rq3TGo4xKZW0T8r8m+K1/rQyPei1BtTljl Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537308" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:44 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139364; x=1705675364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TLChsiQKUwXxBVjYX7YtnK1mxpQTic48Ryib6VjfEV4=; b=cIYkIRIVpBnzhrni6+QvI+Ofek6dNBMJbH2k2pOqZwkAza64bCpw5/7D aIZXUuVsysluxZIlqiqMew/zBSN+GQIqgfF/g2/jY9as83oC6GVlZi9aD 3Mpwcwu57Z3D0v3sxo1Nflb0ODkBWbKvtzqQY5UyYUpffd58Cn/ved1DX R803htofZfbxoW+VMNm0kUGPIYrNOpsQhfasSilzBDtw7Lf6bpsfcQbbC UAVtvFI5hYxVlmw0zCqTgWtWdgQ9oF8O4QUtayp1In0ICFZSbK/B+/1K7 HKdzXUQ3OlSfFa3CSTc2Md44AQ9MvdxQRCbN4mqy+0Us3lwVZrgJLHmvt w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537307" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DBAE7280073; Thu, 19 Jan 2023 15:42:43 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/9] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS TM070JVHG33 overlay Date: Thu, 19 Jan 2023 15:42:31 +0100 Message-Id: <20230119144236.3541751-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064254_002452_FFC46E55 X-CRM114-Status: GOOD ( 16.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 5 ++ ...tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso | 56 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 44b5ed44b13d6..e6943dc73a3fd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -805,6 +805,11 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tqmls1021a-mbls1021a.dtb \ ls1021a-tsn.dtb \ ls1021a-twr.dtb + +ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo + +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb + dtb-$(CONFIG_SOC_VF610) += \ vf500-colibri-eval-v3.dtb \ vf610-bk4.dtb \ diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso new file mode 100644 index 0000000000000..252ef982dd862 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + + */ + +/dts-v1/; +/plugin/; + +#include + +&backlight_dcu { + status = "okay"; +}; + +&dcu { + status = "okay"; + + port { + + dcu_out: endpoint { + remote-endpoint = <&lvds_encoder_in>; + }; + }; +}; + +&display { + compatible = "tianma,tm070jvhg33"; + status = "okay"; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder_out>; + }; + }; +}; + +&lvds_encoder { + status = "okay"; + + ports { + port@0 { + lvds_encoder_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; + + port@1 { + lvds_encoder_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; From patchwork Thu Jan 19 14:42:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108242 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A110BC00A5A for ; Thu, 19 Jan 2023 14:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rm81KT58uUmV7DYKG/Oo/D9p63G43lcj3ng0vzGBM8o=; b=qqilaoDTgDvs22 wv/SBfr5Gi+zc29RAH2FEpgzewwcSCzhZWr8q3qYmqN66CVoC34V1xmLdWKVRWAUwvwATk7slzuS/ onWpFHUZA0aDx6INVhqBUUBesqVewjUP5NaaUpvmOPgtf3Y+Nd2pK6RRM1VTOS1B+5+TZ7XFPvbX0 M4EJL2HS7PBi+Gn48JBcuu4QooRGzVYGiNESVjVgGATdgFP/tE1GB5dWlZePJuS8Gsr92Ur/Ckv5k LAN9E3hUyrfSY1o4uacB64nxk2t4XRzCNcpJd7lxmc0B9hBZbl+UN6XvOtz8ibf4xgLC8Wlfnoxox b/uT5jMYBAdA9k4PKoTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWKs-005UGB-UU; Thu, 19 Jan 2023 14:56:15 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW81-005Okj-Jy for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139377; x=1705675377; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=088AciiDdUGFfIMLtBLyVCYO9uBHBgqq/A72XRwMW2k=; b=GUChH1GzOJEjB4aRiNEj4nN4FxoJE19TLIeJadgrm7Nb6oTYeJyq7AzR mmNznCMzQS234kkSHm4ZTL3woogQSyxV6U70Zg+igGHX4Zq49Msey/ECW oQlsbp8PA1PQyRpEgnA3z2KZn3fEQ1jzmpXNd7R+9JKMMd/QoVzS7sW7b EcAzzIGJNYoc3YscmkOxzZvhn8WG0YZafJUSBa76y8PLRIjHGZ86Umcbj noP4HWHspYxrKpz7ZotLAnuKM7WdI0bUt3PURLUxGZmjQrIN85DdcOTd5 UZT3xMnHuHc4WIyJAxizeMiG+CS8nMtWXw4v7rVqYfzTSP1A2EqaBR7pH A==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537310" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:44 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139364; x=1705675364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=088AciiDdUGFfIMLtBLyVCYO9uBHBgqq/A72XRwMW2k=; b=KFVInPq8oORBibKSSengVgUAhLJzJvPkWaXl4QUsBN+DYWUTLVbVKctq MjshrPuNFvNQVoZLAEOPqgvq8xs4BMDbkKoa3fHUjVTiHTN1+QjUM10Sh /5s3JP45KGYnBWpOemhZhQLN3lw9SGgdpGoMtJBKi5/uayH4d3KPO9l75 VJLPIzVqpsx9XLSydzo3rvXGMvcBVOVSv8RUx3u+qpyHixdAAXd66WTSl RVlKE+UQdRIY2gVxvCJyKxb94QMc2228vnw1lfObh5CWgPKub4zm9Egug RQBXMVufprXPCzC3taXkk1tdU0Scvj5EtXTRSy+9s670nEf5hEGPxXWev g==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537309" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 19E4D280056; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/9] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA HDMI overlay Date: Thu, 19 Jan 2023 15:42:32 +0100 Message-Id: <20230119144236.3541751-6-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064258_009017_3653A4DC X-CRM114-Status: GOOD ( 16.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree overlay for HDMI usage. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 2 ++ .../ls1021a-tqmls1021a-mbls1021a-hdmi.dtso | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e6943dc73a3fd..d5105e8179431 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,8 +806,10 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb dtb-$(CONFIG_SOC_VF610) += \ diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso new file mode 100644 index 0000000000000..f5ca22643c08e --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + + */ + +/dts-v1/; +/plugin/; + +&dcu { + status = "okay"; + + port { + dcu_out: endpoint { + remote-endpoint = <&sii9022a_in>; + }; + }; +}; + +&hdmi_out { + status = "okay"; +}; + +&sii9022a { + status = "okay"; + + ports { + port@0 { + sii9022a_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; + }; +}; From patchwork Thu Jan 19 14:42:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108256 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5810AC00A5A for ; Thu, 19 Jan 2023 14:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=02xPSBfOxsJ7mtXOZPz5G8yeauwj9xACZxVE91+N0H0=; b=giyWskom0OqBz0 e03s3ZRfaxZlhWjuiX0aC2j5SBGe/lqjzwk9/B4OLcw8XM1caj3tpyugmSg5l3YZsoHelT0BZhcPP 71RCUx6rUor80mKEoko58Ky7f8cspga3pos3bgOc1O2ubNfMGaheA4zLmNZbZ+3+y8HntXWc363NO ViZRGbBGx3Lkdxm42dpk/R4yK2b6KvWUgFZ5XUXnXCsmqXqDV+EkXNQvt3IuinQfaUzWJGoHTt1ui obm6NPcNGdZW8v/Rt5S7bm7bQu2xKikQYqgsPNDlU3/UqdjaV3dREt8SvAa6V14hPq39d29E10yzL u26n920XVJ3tWlL0JxtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWMe-005Utx-22; Thu, 19 Jan 2023 14:58:04 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW82-005Ohf-0W for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:43:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139378; x=1705675378; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Gw2Osjw555DbuyirS/h/UMrdBDnbIATunQmh06M0EX8=; b=mWqNlp1WIPmWpsgX3K/N13Q7UXc7jDJJ79OzLiJn9uC2dZqRFpZt4izQ Ady/lXT9KX2tA3OBEoF3cy2fmMvnnzPQRkN/3gkQqOSZKb3eWoZGdsAsX 1ne0/XLUVgfvXX2JLm7f665YAYHcaw+/nCs3m1EWv9VGQG8VkXzaRGmyS J2no6bjTWBOKRqRIH43ns1659tEB6VG21Vv4dDDNnTjbFMh1nyEiEi5dU 97CGtlh5zi1cVKvgeIZ3s2an1oeCjiwq5XShWPUGs/4luJxxPagskz2PK 0kEu+UrfW1HNByQQLEWEoc+nsnRg/7/5vuWRO6s9+lrIsnFWnMmT4aeHo Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537312" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:44 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139364; x=1705675364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Gw2Osjw555DbuyirS/h/UMrdBDnbIATunQmh06M0EX8=; b=YBZGKmu/RDvIwP3S0g77b5kR1HN4W8eAwRuEhgK1Y6rp/4VE6Aoj+OIq +OuS5FevSCNTeRctk2W26FxDL9KI9QWyx6J8y6LSa+e4qkWjxP0/ubzcw Yr7QJkvOuAHAblKs8j5vfyquVEtoQSxL9Bd010kqGcB5aFsxr1eJqdVgH fxsHBGWOpSoPY4GhTTJFSbkfGa1xUYkNanMqM9hpFvjHeXTFoBK4vgObb Oc5sj6T/R0fvD5c8di4qGJwUht7DZf/NrR79c+I2QaHOoGwCGcuJKuqXW dgZb8EV66mvxuh+DJ62kHS2Vj70yH6QKUC+00opH8qjnstVHmLyUPuGmq w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537311" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 4D1E5280072; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/9] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS CDTECH DC44 overlay Date: Thu, 19 Jan 2023 15:42:33 +0100 Message-Id: <20230119144236.3541751-7-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064258_442784_2E3B8A42 X-CRM114-Status: GOOD ( 16.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 2 + ...1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d5105e8179431..774cc57274e20 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,9 +806,11 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +ls1021a-tqmls1021a-mbls1021a-cdtech-dc44-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtbo ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts new file mode 100644 index 0000000000000..ddc71bc597295 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&backlight_dcu { + status = "okay"; +}; + +&dcu { + status = "okay"; + + port { + dcu_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + +&display { + compatible = "cdtech,s070swv29hg-dc44"; + status = "okay"; + + port { + panel_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; +}; + +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + polytouch: touchscreen@38 { + compatible = "edt,edt-ft5406"; + reg = <0x38>; + interrupt-parent = <&pca9554_0>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + /* LCD_PWR_EN -> TSC_WAKE */ + wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>; + gain = <20>; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; +}; From patchwork Thu Jan 19 14:42:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C1FDC00A5A for ; Thu, 19 Jan 2023 14:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XYvjnTl/99k0MrFdvfp7GLOXHUsX0LoOK2xLn4nognE=; b=sZIIKZeGtEhxRk rGnZ12h8WF5hYQJFEr30ZY1KoEeHtMnqASZHBp4TOeSinnPEYoNfCZtusQM5xPCTT5IMBoWFgllAW 9gg8o28ACp4fT3oGHN0obGm3W0kgYSub7oq4dOgSnOMTjP2uGnplm3VKnpILlMcsVf/xShZb4zigL 9MwI9398hVPgFdf5+3BeQGcNf73XGECR6nvwV2xkloh5O35rjv5WhMeBB0x71QvDNcRKyJDiQR0cz avYH+fmmSbXj0uGDQF+RAM+F+A7B80yVIo2bKb9PQh9m2tFXBatzurYKtW9KM3NKse7QnaItci85p w91n9VaOchrPi5HVGPHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWLx-005UdL-FQ; Thu, 19 Jan 2023 14:57:22 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW82-005Oge-2K for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:43:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139378; x=1705675378; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WaHO6dQkECqg1BoxffsPr2SMwQT9honmJ2MccBw3l4E=; b=luS/yHA+c/yT92u9ip3TOEcVf1rsutFIGgvjqvCcb5uDEENN7WUU7Pbz ij8v013qihtZF13Og4zb1UMEik6VsgB483gmp2lOZQBl8g6JLyFCX+Z3C uxDmKh+vxMkc6+kgBAPzdcyEQwnczwcthgHAFyoNr+uqTA4vMuhG0r2WE ZhptukPWgSfVPcsx6RRMsURoRYc+MSm5IN1GqpFJJ328oSOuu1nyyKXLE LWdC5hM2TsrHCQoetgQ2pjyGj4K62bnWAHP+sK29yZ82YO39Qiqe9XEZK aIvGa2vuYLPxPqV8FI1J1qRW92K376EYZdMKiEmc2RE/I2ILyAyOmYBRT Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537315" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:45 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139365; x=1705675365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WaHO6dQkECqg1BoxffsPr2SMwQT9honmJ2MccBw3l4E=; b=Hcnc/LWr81aWSnj4TilaDeJab/9cY07YMzX3s0rlTGE+pM/of1/eo/bD 1ISNRRK9H2al+dcD93Ad9sKCXm8JeExWUVG3sOOrIxUSJWoiA/+kEypzH 8rprJtxZP3fvJKxfilkzfmd4X4AyImfvgZQTEYELUeWAD77fOfiInVJK3 fSpJ/8icY4UEaJpI82rck7tq+vWIzgFNIJYsVzt858jMeLiGFLt4aCYkG zDPErzKVKZsFZfflMpms7nkE2uwX5oHLDqUyQB+mQqeMMIeAvgfHIEJtX TGo08/yqx/85qiaQSH2wqjXgorjRTmD1Mu8yIM93in9iyT/97R9s2DCiI Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537313" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 7F30A280056; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/9] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS CDTECH FC21 overlay Date: Thu, 19 Jan 2023 15:42:34 +0100 Message-Id: <20230119144236.3541751-8-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064258_611616_09AC0C83 X-CRM114-Status: GOOD ( 16.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 2 + ...1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 774cc57274e20..bc51a5b868c10 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,10 +806,12 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +ls1021a-tqmls1021a-mbls1021a-cdtech-fc21-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dtbo ls1021a-tqmls1021a-mbls1021a-cdtech-dc44-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtbo ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts new file mode 100644 index 0000000000000..4bd10d0e17b90 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&backlight_dcu { + status = "okay"; +}; + +&dcu { + status = "okay"; + + port { + dcu_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + +&display { + compatible = "cdtech,s070pws19hp-fc21"; + status = "okay"; + + port { + panel_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; +}; + +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + polytouch: touchscreen@38 { + compatible = "edt,edt-ft5406"; + reg = <0x38>; + interrupt-parent = <&pca9554_0>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + /* LCD_PWR_EN -> TSC_WAKE */ + wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>; + gain = <20>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +}; From patchwork Thu Jan 19 14:42:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108257 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D29ECC00A5A for ; Thu, 19 Jan 2023 15:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7rFGo7yhhdB1AaYMMxWZ8mtSHg/KQzNsGhqABh/03So=; b=TO+EL47Vh/+XlT efjq4vt0lln4pvALGKvVb+lun65VQG5Ij1u6bACWmtHjiP8eA8CpVmRO43O7FDi6XLF9ph/bvIN8c 4YG4V/CA1+Va15duF7Wkb/ja/zEPXIFTsAAoeHHSvWP7uQssM7ZuHrjh0OeUYcniYn13unb9Vtrev BGyb2CnZmvbsLxn3kaGpV9ypp7qJld4azr6oih1S15sCS02WP6Mb6onz9WCA2PQAFr//ns7V21tgN yJFdsxsQno5EUW97MAetB3+jyLsrJPPB6OrOPYAemlN9hxbaCwDAA2RqJLd/YW0CwJRMS/tQcELaG Lx2nFD2JaIw4efaSC13g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWNU-005VFk-MY; Thu, 19 Jan 2023 14:58:57 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW83-005Okj-Su for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:43:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139379; x=1705675379; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ChwKkC9qrd3Er0jjlCVX6d8vPdV3o0wtG+3dPpljv8E=; b=hzbiwvr+F+aetqSRVbHI39/8vsSEynSAHglUSBNJIo30khCwXvYawnn+ uNc11JantpbEcQE19FgQ132cB98vehgo4hOMxO0z7nCi7OELGsMsqNq8k YmWYrUHTyY8D1jYDYev4jJKTeDPcx+PRkHtt6CuTAAVjV35gYxbNNZ15e sPHVk+UW0jpi2sWiyt3xN3JJPwFXOUnzF75BNcMdJzCD5jNYVd1Mc438Y BEjOgys7Xzv5KBAfx8+TwJMAfpW0p3I/Z4vngIama9LtGNIe+Z6u0SOI4 wbYYJpv9zP/0JPrEiZG9WisMGMS792i7bolMzeaJdCtekYnZiqOUGOvvL g==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537320" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:45 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:45 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139365; x=1705675365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ChwKkC9qrd3Er0jjlCVX6d8vPdV3o0wtG+3dPpljv8E=; b=ZoXUArdTq0+/LTegYMB9eZaaz475F8oUEHjfu/tuOL7IzaUtzlyCJruG Yy9SFPV31N61quesTi+0y1U/E6+or7DbUEyNCXhIPba55P+fZ4N3WeEIF lkqlk5+f091RPFN7E0xOFKW8NciFnIIDMkvV8y5qLcOMiSZZQJWTyvnsY GliU4C0J2wXk2/0+6uujLx11ZcuSMZwad9eqq2bIL7uR0558Qz1l77aJn quKSn5UB7NYTYRmEX1/y0Q4KRKBhlVOMwxzgNJBAgXULzNzU+h2DH6JCv ioY7fECY1eWJ6g/kGzf+WAo6tpVq/jZOTuSBgRdSkhqMqKTXlmLzHmDfJ Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537317" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B09C1280072; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/9] ARM: multi_v7_defconfig: Add options to support TQMLS102xA series Date: Thu, 19 Jan 2023 15:42:35 +0100 Message-Id: <20230119144236.3541751-9-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064300_269000_33FDE56B X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This enables drivers used on TQMLS102xA + MBLS1021A. Signed-off-by: Alexander Stein --- arch/arm/configs/multi_v7_defconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ee184eb37adcf..441a449172368 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -191,6 +191,7 @@ CONFIG_PCI_TEGRA=y CONFIG_PCI_RCAR_GEN2=y CONFIG_PCIE_RCAR_HOST=y CONFIG_PCI_DRA7XX_EP=y +CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=m @@ -249,6 +250,7 @@ CONFIG_AHCI_ST=y CONFIG_AHCI_IMX=y CONFIG_AHCI_SUNXI=y CONFIG_AHCI_TEGRA=y +CONFIG_AHCI_QORIQ=y CONFIG_SATA_HIGHBANK=y CONFIG_SATA_MV=y CONFIG_SATA_RCAR=y @@ -329,6 +331,7 @@ CONFIG_TOUCHSCREEN_ADC=m CONFIG_TOUCHSCREEN_ATMEL_MXT=m CONFIG_TOUCHSCREEN_ELAN=m CONFIG_TOUCHSCREEN_MMS114=m +CONFIG_TOUCHSCREEN_EDT_FT5X06=m CONFIG_TOUCHSCREEN_WM97XX=m CONFIG_TOUCHSCREEN_ST1232=m CONFIG_TOUCHSCREEN_STMPE=y @@ -483,6 +486,7 @@ CONFIG_GPIO_ASPEED_SGPIO=y CONFIG_GPIO_DAVINCI=y CONFIG_GPIO_DWAPB=y CONFIG_GPIO_EM=y +CONFIG_GPIO_MPC8XXX=y CONFIG_GPIO_MXC=y CONFIG_GPIO_RCAR=y CONFIG_GPIO_SYSCON=y @@ -493,6 +497,7 @@ CONFIG_GPIO_PCA953X=y CONFIG_GPIO_PCA953X_IRQ=y CONFIG_GPIO_PCF857X=y CONFIG_GPIO_PALMAS=y +CONFIG_GPIO_STMPE=y CONFIG_GPIO_TPS6586X=y CONFIG_GPIO_TPS65910=y CONFIG_GPIO_TWL4030=y @@ -533,6 +538,7 @@ CONFIG_SENSORS_INA2XX=m CONFIG_CPU_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_IMX_THERMAL=y +CONFIG_QORIQ_THERMAL=m CONFIG_ROCKCHIP_THERMAL=y CONFIG_RCAR_THERMAL=y CONFIG_ARMADA_THERMAL=y @@ -821,6 +827,8 @@ CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m CONFIG_SND_SOC_SGTL5000=m CONFIG_SND_SOC_STI_SAS=m +CONFIG_SND_SOC_TLV320AIC32X4=m +CONFIG_SND_SOC_TLV320AIC32X4_I2C=m CONFIG_SND_SOC_WM8978=m CONFIG_SND_AUDIO_GRAPH_CARD=m CONFIG_USB=y @@ -830,6 +838,7 @@ CONFIG_USB_XHCI_MVEBU=y CONFIG_USB_XHCI_TEGRA=m CONFIG_USB_BRCMSTB=m CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_FSL=y CONFIG_USB_EHCI_HCD_STI=y CONFIG_USB_EHCI_EXYNOS=m CONFIG_USB_EHCI_MV=m @@ -933,6 +942,8 @@ CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_CLASS_FLASH=m CONFIG_LEDS_CPCAP=m +CONFIG_LEDS_PCA9532=m +CONFIG_LEDS_PCA9532_GPIO=y CONFIG_LEDS_GPIO=y CONFIG_LEDS_PWM=y CONFIG_LEDS_MAX8997=m @@ -949,6 +960,7 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_LEDS_TRIGGER_TRANSIENT=y CONFIG_LEDS_TRIGGER_CAMERA=y CONFIG_EDAC=y +CONFIG_EDAC_LAYERSCAPE=y CONFIG_EDAC_HIGHBANK_MC=y CONFIG_EDAC_HIGHBANK_L2=y CONFIG_RTC_CLASS=y @@ -962,6 +974,7 @@ CONFIG_RTC_DRV_MAX8997=m CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_RK808=m CONFIG_RTC_DRV_RS5C372=m +CONFIG_RTC_DRV_PCF85063=y CONFIG_RTC_DRV_PCF85363=m CONFIG_RTC_DRV_BQ32K=m CONFIG_RTC_DRV_TWL4030=y From patchwork Thu Jan 19 14:42:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108258 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8B23C004D4 for ; Thu, 19 Jan 2023 15:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fYvrV1iRxzcE98QLcloQKB+GFoiG1vA3j1uvJE3+gSM=; b=FE2H2CsfKf5B9D vAActsCfG6nOpYVCVYLV/MKaUvK5Sg0yXe3VOXqHBZ6WzEs9fVj2279EzzEUJiE6O3kd0kZoVXvZd Q6YlHNyFskq89/5CbMMsTDeuD3Zh8kWh+Q8QvGXi7/A3pXiLqqp4dcVthgLg1BId3zUCZFPMcdXWp UI46Sgoxw7X/xJDt1TxCxe55T1/zIXqCsgnyLa+VvH4gr0IRF4TgSEUGfh4dYLaswnyU963mgTWFj Nt3QJ9OQ9TwXjzcnMCmj84o7wFRXZExDpM0mRxwHYyQk2zY3psCmoDYUA0iuI4nluLsQRiHDy4wlm 5iJUG18u6UHDQXkdXuuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWO8-005VUr-7c; Thu, 19 Jan 2023 14:59:37 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW84-005Ohf-Kp for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:43:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139380; x=1705675380; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z5BOX24eWOopSXeN2xDF09qwu6cHJYzrrndKi7ZS7C8=; b=X+TsbuMz9+h4dIJSEVXyK3tiq5RJcT3NEyVGkI9T7N3hWTdRqZGVDE4d jbXVSRX6a14s7zMkQ+AOG6folA9lBcXuTnluU/S/iRTrdMeB2CvGF0auw 9CeR/GXSgt4kIBtAGGY2sjsX17HgVa+wCXpM9yKl8cK5Ewn/ua4OMPkS0 Uwt6XOMuNcFzIisDUNYE+XXp3BV9PiFbc2/jIIvfBv9HeTN2BDhz9mbnI 1OmHiu0zl6Mlvwc98NbwwAX1NSdwMyOE0RTYJaxdFl4vat1h5oPBzNC1U 3n5OkwfgVe8qNdFZCuF8K4UumqxTsmbbYrgQjAE1Nm2BBx9uBnXqOSyHz g==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537321" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:45 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:45 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139365; x=1705675365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z5BOX24eWOopSXeN2xDF09qwu6cHJYzrrndKi7ZS7C8=; b=F/GOiNDV1vM6UCF7p6tHvKYh/aAJutlVLtXZhJ5EiN8ZKoJrxbLrwJP3 ADIRGe8SaulRupDbCDr76BdIB/kXXXHqGlplVK/ioqM6yPlzU5TYuIqO+ zuY5ufLMGxQXqbG20l7vELHeFIiX4xK7YCISChnhi95omBM6P5cle51B9 krU13bvF8jQY+hpsV1t3NHgsfeoYPdCdZN2g4QF/4VYU8/oB88Nan4u79 N9LGqCvPQwJ6tWdFKmierBI7bdZ2fsSheWzKXiKSjj3HNwcvnfDZP1O8y D58uRsVRMk7M7/QRUZ5XqxDD7RXgLE58M/9MjlCbm6P60H93AsMQY0pgU A==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537319" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:45 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id E78C6280056; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 9/9] [DNI] ARM: multi_v7_defconfig: Enable CONFIG_ARM_LPAE for multi_v7_config Date: Thu, 19 Jan 2023 15:42:36 +0100 Message-Id: <20230119144236.3541751-10-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_064301_055723_60F24276 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is necessary to support PCIe on LS1021A. Signed-off-by: Alexander Stein --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 441a449172368..f0757f05ec2c2 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -105,6 +105,7 @@ CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_VEXPRESS_TC2_PM=y CONFIG_ARCH_WM8850=y CONFIG_ARCH_ZYNQ=y +CONFIG_ARM_LPAE=y CONFIG_SMP=y CONFIG_NR_CPUS=16 CONFIG_ARM_APPENDED_DTB=y