From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8759C636D4 for ; Mon, 13 Feb 2023 22:28:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 76D38857FC; Mon, 13 Feb 2023 23:28:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XlZ3ih3J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC904857E3; Mon, 13 Feb 2023 23:27:56 +0100 (CET) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 03749804E7 for ; Mon, 13 Feb 2023 23:27:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=macroalpha82@gmail.com Received: by mail-oi1-x235.google.com with SMTP id bx13so11518008oib.13 for ; Mon, 13 Feb 2023 14:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=r45piiSzHDKBjDqC6o7JAH9xZGAtv4VDcyWNPRceqjE=; b=XlZ3ih3JfUlAJa8UpLbJpexgzWgoZQPE8D5iq6PnHgVhUyn+51LpkGUsTOY7gGLADf X8kyGeg7pur49GX6OOFlLsrfFus3BivD11MkxOxf9mntN4MHuHUCG/kqVaUYLv0HDaIw blGIYukoLhq+7m34PaljWUa5UWpHABWXkq49jCRt2lcyMAM9/cZaig1r3zbRx1s5Q25o cNU6iM61Ct+LkptMwxuGMZVyythdEqYs2ZqIiB6pYwqGGRaOvb4gloA6EiNtzLKVt8Mz GqMl277MCXKGP3vzhTc0RpEtSsSG5+hfKFjSnrtVI7quuCwdA1pecvd5SjN2oMTa4c5y HvzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=r45piiSzHDKBjDqC6o7JAH9xZGAtv4VDcyWNPRceqjE=; b=sxbaNUobSyJflLs3bGkRae384jKafW25qgIsYiefEJrKBpK43XSTAGxfxYB/Hr/ZF4 13bz8+hgNLMyEJRujyBYq9Mz+E2m10cAvcYXsj74s5MRU6En28CocgNmoBwEHqyMdNbU iYRTy6wKWaV7P2bhBRgrVqkBP6uZG0gv/AytL2P/E4If+UxgqFG51JN/VGrBlEXmMCI6 YrzvWx8qbD8i8rhAhxLOy18eQn/3i+dSUM5Nqg3cVg/4Rs9pyCR0CxkmiI/hW9Jbnkc9 tHz+fufFS6iRePu+t+S6WQqKOhDtLAEEvQlJhnDLcmvxF4naf7NZkrVqsWj1bHgaWoh2 me0A== X-Gm-Message-State: AO0yUKW+po2vgAh+QJdl8jfCComcwCNzn8JboNKDt7q2DQD4a3v4q5K3 nOad6NYlNjMuwVX3veZHLFQasfk4CiU= X-Google-Smtp-Source: AK7set9FU9IGTZmRCGSHOn2iIDP2cYXuXUCqsKVbviPL3voIQaCD0CrqRxRNrhkOHZptHidmHBb82Q== X-Received: by 2002:a05:6808:280b:b0:378:9cbc:9e56 with SMTP id et11-20020a056808280b00b003789cbc9e56mr184152oib.38.1676327272464; Mon, 13 Feb 2023 14:27:52 -0800 (PST) Received: from localhost.localdomain ([76.244.6.13]) by smtp.gmail.com with ESMTPSA id bf16-20020a056808191000b0037d790218c1sm3044085oib.9.2023.02.13.14.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 14:27:52 -0800 (PST) From: Chris Morgan To: u-boot@lists.denx.de Cc: heiko@sntech.de, sjg@chromium.org, philipp.tomsich@vrull.eu, kever.yang@rock-chips.com, chenjh@rock-chips.com, pgwipeout@gmail.com, heiko.stuebner@theobroma-systems.com, Chris Morgan Subject: [PATCH V2 0/9] Rockchip: Improve Support for RK3566 Devices Date: Mon, 13 Feb 2023 16:27:33 -0600 Message-Id: <20230213222742.135093-1-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Chris Morgan This series is to lay the groundwork to improve support for the RK3566 based devices. This syncs the devicetrees with upstream Linux and adds support for the pin controller of the rk356x series. Future patches will be submitted that builds on top of this to support devices such as the Anbernic RG353 and RG503 which are based on the RK3566. Changes Since V1: - Updated GPIO to parse bank ID from new property of "gpio-ranges" which should be included in upstream Linux soon. - Updated name of u-boot.dtsi file for the rk3568-evb1-v10. - Updated MAINTAINERS file for evb-rk3568 board. - Updated rockchip documentation for build instructions for rk3568 boards. - Removed links to patches co-authored by Peter Geis and instead included him in the tags. Chris Morgan (9): gpio: gpio-rockchip: parse gpio-ranges for bank id dts: rockchip: px30: add gpio-ranges property to gpio nodes rockchip: vop2: Add vop2 dt-binding from Linux arm64: dts: rockchip: Sync rk356x from Linux main rockchip: rk3568: add boot device detection rockchip: rk3568: enable automatic power savings gpio/rockchip: rk_gpio support v2 gpio controller arm64: dts: rockchip: add gpio-ranges property to gpio nodes evb1-v10-rk3568: Update MAINTAINERS and documentation arch/arm/dts/Makefile | 2 +- arch/arm/dts/px30.dtsi | 4 + arch/arm/dts/rk3568-evb.dts | 79 -- ...-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} | 0 arch/arm/dts/rk3568-evb1-v10.dts | 692 ++++++++++++++++++ arch/arm/dts/rk3568.dtsi | 122 +++ arch/arm/dts/rk356x.dtsi | 187 ++++- arch/arm/include/asm/arch-rockchip/gpio.h | 38 + arch/arm/mach-rockchip/rk3568/rk3568.c | 31 + board/rockchip/evb_rk3568/MAINTAINERS | 12 +- ...68_defconfig => evb1-v10-rk3568_defconfig} | 4 +- doc/board/rockchip/rockchip.rst | 10 + drivers/gpio/rk_gpio.c | 69 +- drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-rk3568.c | 453 ++++++++++++ .../pinctrl/rockchip/pinctrl-rockchip-core.c | 12 +- include/dt-bindings/soc/rockchip,vop2.h | 14 + 17 files changed, 1613 insertions(+), 117 deletions(-) delete mode 100644 arch/arm/dts/rk3568-evb.dts rename arch/arm/dts/{rk3568-evb-u-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} (100%) create mode 100644 arch/arm/dts/rk3568-evb1-v10.dts rename configs/{evb-rk3568_defconfig => evb1-v10-rk3568_defconfig} (94%) create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3568.c create mode 100644 include/dt-bindings/soc/rockchip,vop2.h -- 2.34.1