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: 644340 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 054C0C678D6 for ; Thu, 19 Jan 2023 14:46:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231153AbjASOqs (ORCPT ); Thu, 19 Jan 2023 09:46:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbjASOqY (ORCPT ); Thu, 19 Jan 2023 09:46:24 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E242D8C927 for ; Thu, 19 Jan 2023 06:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139416; x=1705675416; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MxvAgWwx3j8bs/X7hks889d23qZmaIa2T4rMGUUlcGE=; b=lM2cyZEljUOAEMQv6V/QqKlQQmOiLTuyRi6TvBsHkTAVNDM7TfsPP5sq reRBWZ7AG39hhUGsbCHB4FFQlGZaKslrdMjD+aSI4c4Y+57HmJjChvuPv 3gcMrUQPCJGQu/dcr66YgZIjz/ccXcBKVMpByTv52/fP4GYyjhVEUw76H Drt/rpBZ6SISnOTOBuWlbmvJhpy/MWlRC93JYgn7191oQZUk6Tsw25ehd qmNBbV8TvjKo6Vt9L2yKiO141V/0ETvIMNiKBt5o6LMWQYNsiUalKIoa+ +PuCtRyfaDFp7muc/hK1YQYjTiwqNyvPkZw0Z+n9070d3VvA1k2RnZCWS g==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: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: 644338 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF4CFC004D4 for ; Thu, 19 Jan 2023 14:47:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231461AbjASOrO (ORCPT ); Thu, 19 Jan 2023 09:47:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231494AbjASOqp (ORCPT ); Thu, 19 Jan 2023 09:46:45 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E14586EEE for ; Thu, 19 Jan 2023 06:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139457; x=1705675457; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uB8uB86LuN3HgbMx7REOvUOru6ul+IWGzmbtPf1DUuY=; b=hyn9VWk4yLq9VDQ3Aq1T0fjRUWTyFQFlUL0cRIs+zqW1Tq5gxTw0HZK8 nAkUSI6uLRUCzeTIlxDiXow15HuxfdzypOGOXA2lyrmQhinFRPlsUMpFC aMYTkvjtEj30qT5yby+b95hTkD8kon7d+dp3rwjRDe8rxo61pdgUN0tdQ 6y7z1lAvSkdePjTvRNHBFYquc6hz2Po8FRULf3QmyB2FJQuI2fgjgpS9q wgECJWdkQFtNuMDJfLMt3HkDQ1R9yDiVsS71z/w2Wp/F9oXjePfuQ2bw3 mJ21dHsegaTi/AUob2L9MgpuQmjMGQk4NKtlBwAH33iPtsBFhUDLSPw/f g==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: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: 644337 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 934CEC004D4 for ; Thu, 19 Jan 2023 14:47:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231345AbjASOr0 (ORCPT ); Thu, 19 Jan 2023 09:47:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjASOrI (ORCPT ); Thu, 19 Jan 2023 09:47:08 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BA0288746 for ; Thu, 19 Jan 2023 06:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139479; x=1705675479; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=088AciiDdUGFfIMLtBLyVCYO9uBHBgqq/A72XRwMW2k=; b=Tcl9cUD52M5tc6099F8g4a7OqEb9dgLbpEsSqkLx6uaZsqtyHr810Vho 7ZRdrj1yZZoQosZ85tSszINUN6g9tWfOJW0EoltdKSNwRLBx6bbQSYUzr v3IwNR6gJmiBtPF1mca196FL9zH+dNgL3ygV5HinvaUa4IXKYjcadlkn8 1Cfo8OCNaVhMBJiEd+G/1JKkT8fRnmUAIkP6ZIp37ZTV8BEgocOlgprNE CVcLZGXY3Ee3jisFCjfySi5+Wb05j1vrKe9kcN20s9YSxMqZYrzYpzMsW 7erPIv2NQkwhBQmMdG3n0wYgY9rAufAclI2sYFCNxYX5SaCHqfiVFnbVR g==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: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: 644336 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F8E3C004D4 for ; Thu, 19 Jan 2023 14:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231443AbjASOra (ORCPT ); Thu, 19 Jan 2023 09:47:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231447AbjASOrJ (ORCPT ); Thu, 19 Jan 2023 09:47:09 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB26286EFF for ; Thu, 19 Jan 2023 06:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139492; x=1705675492; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WaHO6dQkECqg1BoxffsPr2SMwQT9honmJ2MccBw3l4E=; b=Egp1hDrun/lI+T5nCQwIYs1zdN5wmTfu6sdAtijqZfKqg3cleUoNlqvQ xLLE45DZ54vDCkUH4Dil50zdY5QEXO+D5ljpc3pinrNj2eZrXYDSqvKXF v5aYfrgy22LH091wP18f2mN2V4MurdPSKiQrUfG5e9YgcKsTFdAwcpWKB IicdaJpt2hliAqOvrySZ5Yhz3OFKe8C5pKJaM9BSfkmAf8+RqqKItlE92 /CG9QboXUuK+VHSjpunDmELn88HV1Sr7plJKV/i0I9NygUy2bGE/mypx5 Ujx+pBuV/JAmS4hcicMyavlrzxBYqUnplUGThxKqsFRuPgP8ummAW0srf g==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: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: 644335 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7640C678D6 for ; Thu, 19 Jan 2023 14:47:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbjASOrd (ORCPT ); Thu, 19 Jan 2023 09:47:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbjASOrM (ORCPT ); Thu, 19 Jan 2023 09:47:12 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF1F87298 for ; Thu, 19 Jan 2023 06:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139498; x=1705675498; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z5BOX24eWOopSXeN2xDF09qwu6cHJYzrrndKi7ZS7C8=; b=VOP0x+ur4bCeON0KZ/escw0MyqwF6O6wLSx11f0A5kxDg1lX3jwAvGBg dug0FMoFzQl//MIb2EazR4rNaCDTZZLf0xOUI/wiNwYgBof5HIdt1+2Ko qV+Xjb1u7xDoN0Z9oFuLVloB8+n/3RHw5bHQeir/oiQY4AQUFpL8wgxAK F+YKQIQywlqJzSw/BeV5S0C1AR77g09d7m2Nk/ozTq9cjWCrQFgr7oC++ AfRXIXZSrI3WH+5dXfmDjtb/OcP94GGkC8JwiZxmiCRi+2poCapaEBSl8 3E06FT/BwxDc1ArTiayQwCFlojpDz3O+fJdrm55v6WyaHUM5Ko2xX8bkG A==; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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