From patchwork Fri Feb 17 11:58:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2715 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B6CAC3F07F for ; Fri, 17 Feb 2023 12:58:56 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id g15-20020a056a000b8f00b005a8ea29c7a6sf535975pfj.15 for ; Fri, 17 Feb 2023 03:58:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1676635135; cv=pass; d=google.com; s=arc-20160816; b=jyhWWJqGwUR+7jWj+J2wsEa+bl8BnjwcjeagVRrh/FPq8i+jh1ofzshjlsRPE2EXLK cAmgbh4Nwjz4WiAp6i46UomzqiL69gbGVemfQ/sKi6HvCUk779pCKuIz317PofHzRrB4 35nH8Tf1e6ZN79uMBKmSU46KXl/Hhj9xDizls5jZFArDeZF1vNGa9CKi/EpNsrfS1OW4 O9Ex4zKn6OOR3SjP8BujENJdEDIJ++gKhB/yTc4rMi1mxwZcOHTgPH6KNWLs7WDLDKfP Nheuas+D4u+pyvJMdQ75pCrXSOGYuSQYVyAvN8+g6EkGIguNaJ4Y5OZvHA7iF/9NB6j9 AV2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=tRLAzeWHGR0yHQ0iL4MIIFLN9mGDJZle1i0xUDxwHyU=; b=Ou+4oSw69BWM19cGcsZ1aWi+kjXEECUBvoLRNpqqOon0OyriRYETIVFzKCQObGv6I3 v024GAIHn2asDWOVQhjMPuDGKNryhiRIo4Hj5+wfIwoWlZJ6FPY0/BU28uLY/cci7wEO IOehxLPmmEE6Qv88WeuBKSa0gXNI1THQbFnmTX2ro8W+pycrBIBn33ggFQKK7SqEF8b8 4c6AsyD8YiWqzWZdugWQpoODmoyQYTzPZ0rKNscuNRso+VUn8YEWHp0G2AzPmv5OGTDN Ucx+SZytwL3TbrhPyXBbLYl8nnxxj65SifoZDDft8YxbU9NWhz6ILeUvdHjmyfU0URc0 9xYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JhbIYhkL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=tRLAzeWHGR0yHQ0iL4MIIFLN9mGDJZle1i0xUDxwHyU=; b=lk/gRe/RGjcMd5gz5ZkRkz+st0jMaL/vgQ9t7/0fSjLzHH7AdYspDlWo33jyl8zZDa aqGM3d9DP3RKo6DMSf/YJ4d6qmcVsb80e05SXAr/YgOw3tAawpSnp4DU39DZR/yeyyV4 IEnSZ3opCTcw9K3ln79xfF0swTw0I5xzQTLGA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tRLAzeWHGR0yHQ0iL4MIIFLN9mGDJZle1i0xUDxwHyU=; b=5EBSSMFtKVeYSlsQH68/TNlCF89TWc9q2D6IJLJUEKXQ7AkdGv64Hrhr+PpSW7SBmZ 7/Uzs440yOeODyf4HC42mGpnbezMRrbi/FWvPd/0JQYrjEv/cao3xEUgRHWVc+6pmvJf ZpuP0kdV0r2EM1ty+nReR9w+ZzRiaMAglwdTtrdrtg3IT2RGBvCvrLLGi+IdyhhtnowO 2FRlMaiZCgRXrRIw44VUe1qZlqY9zxfh/V4tfTXsI2eToB42ArFDOihtT0P2xW8fEL5z cfr01GR71RoS4QujkSWEAjgrF+IBe+3BsF31yzVh5hLJV0LMTKTNJ1n/xnkOX8mDZ/4L DRMg== X-Gm-Message-State: AO0yUKV5dtHyMaqP5KxGMJo621fQ8aVAbjh2c/rfzvgWPj2AX7TnJzqQ 6L7Ls+4A65oBus4EMiQmmtjF+yl3 X-Google-Smtp-Source: AK7set94XBgoRdrbj6XUSKSqBNk8mPBD+c+V212x8QQTiUSHAqpOpKMdQA9eh1Zs/xG9od90plOusw== X-Received: by 2002:a62:7b49:0:b0:590:3182:8248 with SMTP id w70-20020a627b49000000b0059031828248mr102552pfc.4.1676635135273; Fri, 17 Feb 2023 03:58:55 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d48e:b0:19c:2b1c:4d75 with SMTP id c14-20020a170902d48e00b0019c2b1c4d75ls95072plg.0.-pod-prod-gmail; Fri, 17 Feb 2023 03:58:54 -0800 (PST) X-Received: by 2002:a17:903:1111:b0:19a:9880:1750 with SMTP id n17-20020a170903111100b0019a98801750mr926003plh.53.1676635134389; Fri, 17 Feb 2023 03:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676635134; cv=none; d=google.com; s=arc-20160816; b=gmVab3nK5I4mfiHb0ZQd1xTlynt7VhYQVWQu6L+l9iXKbfaJOlrNB89OpaW/fiVuN8 QTi8hsJLl8fM3QVk3hMHBELC5MIJ0RbzvHn5BXycTINX3gAi+GWtqU/zQzx5iumtlETt MiVix4MHXnW2LUjU4CARChpUwzV2d9umzwzZfRgkTmxdzdfkvf9RRd4Ippyblvz/RFeY 19fGqJRa86eEs6pScbitlGvvrorhXFQCfF46VyyEne+uEYgsuBjAp8UaXWIQm44fEGH+ comdnbrOaLliwAjV3Aqmxv+zueIY0WiSwtAT+RSHwoPvKUoUVkmu+D3YpZ5Tjaarj6HE c7Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=aX42T++1hyzwq7UadQIBKTwIL+3sVVYCZCNHt6KEq7I=; b=j2T9XTY4XBS9cVxpzQyclosyLGREVzM5ZlGdtA1xb5Y8toUdL/M8p8G/Esn2gnbgKX /rpE2fy3edfnnb+7jrxIYQE8q2wTn9ijXLjtq4k+P6YvoQpvtiST8MMBIIiwUGSh7RSu 7u1bgMDXaBQcFo/jlzvFBATtizfb0zv501TOtEsHCJBYz5oFfcKmFqu1qERkQLgJlmjz tUhSVGYWJPtLARabfebvgrEgmQhNQk8FuzJwxHJLKwKsUXQjFSgdaEeOb4xB7zSUNbNd csRfDG9tB7RMtuVN/qVtwcTIgam7tLUNg6ClXZBSUn3DNjsJ81KeICiVvQv52MEtF0oz Palg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JhbIYhkL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id s10-20020a170903200a00b00198999e04eesor2050417pla.143.2023.02.17.03.58.54 for (Google Transport Security); Fri, 17 Feb 2023 03:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:903:41cf:b0:19a:85a7:dcb9 with SMTP id u15-20020a17090341cf00b0019a85a7dcb9mr8468737ple.2.1676635133975; Fri, 17 Feb 2023 03:58:53 -0800 (PST) Received: from localhost.localdomain ([183.83.141.79]) by smtp.gmail.com with ESMTPSA id ik15-20020a170902ab0f00b001991d6c6c64sm2989418plb.185.2023.02.17.03.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:58:53 -0800 (PST) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v4 00/12] rockchip: Add Radxa CM3 support Date: Fri, 17 Feb 2023 17:28:33 +0530 Message-Id: <20230217115845.75303-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JhbIYhkL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Jagan Teki This series support Radxa CM3 with USB2.0 and USB3.0. Changes for v4: - drop BINMAN_FDT unset - usb3.0 - config additions changes for v3: - linux-next dts tags Changes for v2: - collect RB from kever Jagan Teki (9): rockchip: rk3568: Move DM_RESET in arch kconfig dt-bindings: rockchip: Sync rockchip, vop2.h from Linux arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3 arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3 IO board: rockchip: Add Radxa Compute Module 3 IO Board phy: rockchip: inno-usb2: Add support #address_cells = 2 drivers: phy: add naneng combphy for rk3568 arm64: dts: rk356x-u-boot: Drop combphy1 assigned-clocks/rates rockchip: rk3568: add rk3568 pinctrl driver Manoj Sai (3): phy: rockchip-inno-usb2: Add USB2 PHY for rk3568 rockchip: rk3568: Select DM_REGULATOR_FIXED rk3566: radxa-cm3: Enable USB2.0, USB3.0 support arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 18 + arch/arm/dts/rk3566-radxa-cm3-io.dts | 272 +++++++++++ arch/arm/dts/rk3566-radxa-cm3.dtsi | 425 +++++++++++++++++ arch/arm/dts/rk356x-u-boot.dtsi | 5 + arch/arm/mach-rockchip/Kconfig | 2 + board/rockchip/evb_rk3568/MAINTAINERS | 5 + configs/evb-rk3568_defconfig | 1 - configs/radxa-cm3-io-rk3566_defconfig | 77 +++ drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile | 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 65 ++- .../rockchip/phy-rockchip-naneng-combphy.c | 441 ++++++++++++++++++ drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-rk3568.c | 362 ++++++++++++++ include/dt-bindings/soc/rockchip,vop2.h | 14 + 16 files changed, 1695 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi create mode 100644 arch/arm/dts/rk3566-radxa-cm3-io.dts create mode 100644 arch/arm/dts/rk3566-radxa-cm3.dtsi create mode 100644 configs/radxa-cm3-io-rk3566_defconfig create mode 100644 drivers/phy/rockchip/phy-rockchip-naneng-combphy.c create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3568.c create mode 100644 include/dt-bindings/soc/rockchip,vop2.h