From patchwork Sun Nov 27 07:31:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 13056632 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 7F371C43217 for ; Sun, 27 Nov 2022 07:33:30 +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: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:In-Reply-To:References: List-Owner; bh=Gvn2XvKDeLth06OPVVVsF7r01F0kSVNdPhyuq74k5fg=; b=q15blaIMML2mny O37b7qBUntoup4B6gCDGMT6rO8UwnQifIfERmBi2O8M9QE97qpAOblbXHRBKiE+qCrkV96VVYkAiu 6c+vUqafxDs47ddA8L9+Nee6Q7LFNgyNQKIugsXewClkXFgYSM1IE5IYqUM/BwXuAI/TRde4nRdCT VSixNBaEgskDY8740Ki6KCU3R8/kscCFk4WzAep/kxSHWkhvL9YnOfSB1UGMfKLekCJDiO7WFKMSc 9TS01iR+hnUs+Q7JcVS5Fdng04H3lvmYmijq/TpXbCx1VHcEmw6+wDxPQZxuGbA8QZoFe1sMh/iaM VQEC5UACiVID5+AaVS5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozC90-00AIPp-8F; Sun, 27 Nov 2022 07:32:06 +0000 Received: from sender4-op-o18.zoho.com ([136.143.188.18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozC8x-00AINr-B0 for linux-arm-kernel@lists.infradead.org; Sun, 27 Nov 2022 07:32:04 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1669534318; cv=none; d=zohomail.com; s=zohoarc; b=AzJcgUosMCw8t54UOBDm/wmUHvVceZrl0dPnsFrwU5nOHbZsKfVS2zcf4mPQJZV2P9e+UybA4UyvMvxtnZOsCsB2f1Sqro44jxST5d2sEbq3daabRFCgWTqERsf/5g2P5tVmothEM3rUF4dtH8Xnq7JFWx+QwWWK5SruFMLA3z8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669534318; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=10CBDSSMY+O5kxCW3DRK9JuPL0vp25NduovcNFvUa4c=; b=igfj7JiLBO80BMoVMSFCD1sxlAKhc4gpxo7vFY8LVv1Dyb4qkE2fNM1oxQ9rmO3mFu1Zl4Bgk6NiDga6K1HWkvzDsfR49aWt3Wa3HH0eGJLYUhZG2P1lzWXswxb83ZoPcURQPO9f+94EtS6pFpDWc3dGZGjIXEdIrm/4utjivo0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1669534318; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=10CBDSSMY+O5kxCW3DRK9JuPL0vp25NduovcNFvUa4c=; b=SwWfg9NayXpIsvXtxJ1XU1ELPGY2PSbPRCAFF834Mmk/zvF7R5sd7GWAYPYMm0iW q3xyoKiqgfdcrKtMFc/bIqle6e9EaBJPPgd8vTKtTvSALAw4786ycdNpPij3nVDhu6K AUwH3jUvCy+mCpJ7OrbdaJVTAoQg6Lxjw2eV5GZI= Received: from edelgard.fodlan.icenowy.me (112.94.100.108 [112.94.100.108]) by mx.zohomail.com with SMTPS id 1669534316404229.14536648713965; Sat, 26 Nov 2022 23:31:56 -0800 (PST) From: Icenowy Zheng To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Greg Kroah-Hartman , Matthias Kaehlcke , Andre Przywara Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Icenowy Zheng Subject: [PATCH 0/6] Rongpin RP-H6B support (and support for GL850G) Date: Sun, 27 Nov 2022 15:31:34 +0800 Message-Id: <20221127073140.2093897-1-uwu@icenowy.me> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221126_233203_450246_1BDECEA7 X-CRM114-Status: GOOD ( 11.21 ) 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 patchset adds support for Rongpin RP-H6B, and as a dependency, power sequence support for its onboard USB hub, GL850G. The first 3 patches are for GL850G, adding a binding for it and adding its support to onboard_usb_hub driver. The last 3 patches are for RP-H6B, also 2 for adding a binding and 1 for the real DT. Icenowy Zheng (6): dt-bindings: vendor-prefixes: add Genesys Logic dt-bindings: usb: Add binding for Genesys Logic GL850G hub controller usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support vendor-prefixes: Add Shenzhen Rongpin Electronics Co., Ltd dt-bindings: arm: sunxi: add Rongpin RP-H6B board arm64: dts: allwinner: h6: add Rongpin RP-H6C SoM and RP-H6B board .../devicetree/bindings/arm/sunxi.yaml | 6 + .../bindings/usb/genesys,gl850g.yaml | 48 ++++ .../devicetree/bindings/vendor-prefixes.yaml | 4 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../boot/dts/allwinner/sun50i-h6-rp-h6b.dts | 239 ++++++++++++++++++ .../boot/dts/allwinner/sun50i-h6-rp-h6c.dtsi | 180 +++++++++++++ drivers/usb/misc/onboard_usb_hub.c | 2 + drivers/usb/misc/onboard_usb_hub.h | 5 + 8 files changed, 485 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/genesys,gl850g.yaml create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-rp-h6b.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-rp-h6c.dtsi