From patchwork Mon Aug 26 08:02:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 13777386 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 D0FB0C5321D for ; Mon, 26 Aug 2024 08:03:25 +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:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8/eC1aYjC31dFdAUnBpRJRacfkDWORkNBgPGIWjTzaw=; b=KGxLPdszj46I1l J3LoNBg3XyaiDBvBprS1UT1Y23S2stDCY1GFF03oaz2f+aqKiqi7e/z8NaiXPqBr9ck8MMJejLJjZ 6pdondmnxf+2Sb+HSwMgr/UIdfziDuZHNYPn9HWcoaCD0AjqZWD/wqUgHqMvJoBxjfSRufujYx5C2 iR0bTFeHz6ClR/6vdyv+rnQbAxbfGFujEWyDG5zpgX/pPAxSqQ9pcck8+/rpSg2rbNu/+onQkOcZy cUqivEKE6KzecJyGAc+7xab7hLb0hmj7+BK/1PaCaQB/gzeJlQHQqtd5Af8N1QwzniHEWogGMCFxn 094bF9513PEWNUgpmUNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siUh7-00000006O30-21HZ; Mon, 26 Aug 2024 08:03:21 +0000 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siUh3-00000006NzY-1HPp for linux-rockchip@lists.infradead.org; Mon, 26 Aug 2024 08:03:19 +0000 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id A7E29260ACD; Mon, 26 Aug 2024 10:03:13 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id FMfb5G2_nGUE; Mon, 26 Aug 2024 10:03:11 +0200 (CEST) Received: from puchatek.local (83.25.211.12.ipv4.supernova.orange.pl [83.25.211.12]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id AFEB62602C9; Mon, 26 Aug 2024 10:03:10 +0200 (CEST) From: Marcin Juszkiewicz Subject: [PATCH v5 0/7] FriendlyELEC NanoPC-T6 improvements Date: Mon, 26 Aug 2024 10:02:44 +0200 Message-Id: <20240826-friendlyelec-nanopc-t6-lts-v5-0-ba33edda7f17@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKQ2zGYC/43OQW7CMBAF0Ksgr+tobKeJ0xX3qLqwJxNwa+zUD mkB5e41sChVJcTyf43enxPLlBxl9rI6sUSzyy6GEp6fVgy3JmyIu75kJkHWoCXwoZyH3h/IE/J gQhyRTw33U+YA2DatRmX7lhVgTDS47wv++nbNiT73ZWP6LbcuTzEdLg/M4tw+tDULLnhvhGwVK gJN6/d9Pn44+nJ4rDDuqtGzsz/LW1PcNSUHTiCUtlYA1HLtXTApVjFtrpZ63FLFUoSD6brGWoJ /Vn1rybtWXSzdSUMWCQGbP9ayLD88eWBqxgEAAA== To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Jonas Karlman , Marcin Juszkiewicz , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_010317_559329_1D4A17C5 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This series updates FriendlyELEC NanoPC-T6 situation. There is non-LTS (2301) version of a board and LTS (2310) version. This series creates common DTSI for both boards and then separate NanoPC-T6 and NanoPC-T6 LTS DTS files. This way T6 gets MiniPCIe section and T6-LTS gets USB20 section. Then set of changes for both versions are done: - enable USB-C port (one orientation only) - enable Mali GPU - enable IR receiver (tested using ir-keytable) - enable SPI flash (present on LTS, optional on non-LTS) - enable Mask Rom button as input device Signed-off-by: Marcin Juszkiewicz --- Changes in v5: - added Reviewed-by to 'add spi flash' patch - dropped adding SPI M1 pinctl - changed ir-receiver to have pinctrl like Jonas Karlman suggested - Link to v4: https://lore.kernel.org/r/20240822-friendlyelec-nanopc-t6-lts-v4-0-892aebcec0c6@linaro.org Changes in v4: - added Acked-by to dt-bindings patch - create common dtsi for both board versions - nanopc-t6.dts has minipcie items - nanopc-t6-lts.dts has usb 2.0 host enablement - Link to v3: https://lore.kernel.org/r/20240821-friendlyelec-nanopc-t6-lts-v3-0-3ecfa996bbe0@linaro.org Changes in v3: - create separate NanoPC-T6 LTS devicetree as suggested - Link to v2: https://lore.kernel.org/r/20240821-friendlyelec-nanopc-t6-lts-v2-0-e0138bb10042@linaro.org Changes in v2: - merged changes into NanoPC-T6 dts file - add SPI flash pinctl for SPI M1 - enable SPI on NanoPC-T6 LTS - enable USB-C port (one orientation only) - enable Mali GPI - enable IR receiver (not tested) - Link to v1: https://lore.kernel.org/r/20240820-friendlyelec-nanopc-t6-lts-v1-1-da1273c3e08e@juszkiewicz.com.pl --- Marcin Juszkiewicz (7): dt-bindings: arm: rockchip: Add NanoPC-T6 LTS arm64: dts: rockchip: add NanoPC-T6 LTS arm64: dts: rockchip: add SPI flash on NanoPC-T6 arm64: dts: rockchip: add IR-receiver to NanoPC-T6 arm64: dts: rockchip: enable GPU on NanoPC-T6 arm64: dts: rockchip: enable USB-C on NanoPC-T6 arm64: dts: rockchip: add Mask Rom key on NanoPC-T6 .../devicetree/bindings/arm/rockchip.yaml | 6 +- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588-nanopc-t6-lts.dts | 61 ++ arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 910 +-------------------- ...{rk3588-nanopc-t6.dts => rk3588-nanopc-t6.dtsi} | 142 +++- 5 files changed, 191 insertions(+), 929 deletions(-) --- base-commit: 5be63fc19fcaa4c236b307420483578a56986a37 change-id: 20240820-friendlyelec-nanopc-t6-lts-00c7678c3bd7 Best regards,