From patchwork Fri Dec 2 08:16:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 13062381 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 62463C4332F for ; Fri, 2 Dec 2022 08:18:29 +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=8+ud00lJs3FOoGMDYt92gQzRlYGKdjt+AMYlcnZb5Os=; b=HR1NJ6urasbEFg M1rioW4E/NPEf9NT2uFjypiQDz8nykNBJBfeLw0ekWpCplWWVjjcyCMArED6GIuRRo3mu0N2o+LQW 9au/Aj69QhAIgL7HdMixvsQc+ALjJmNDXSubFR/p22gmfyRBgo/dJUK6XZRFVPnedKXembXk0vkEo MhUrdOmUQoZyrJC3LFUMvAtbMs7xiD7hWL8oM/kNfxbeXAX3/zZc5+A0B3ut2tIG4aaxe2ZgVLWh+ zXGTBs4wBXtlRUIRSLb1JO3LHwb2CYg2LPNWuT/znCE3laDehr9cKR5Y+HBpNdllouWlYCe40hSU0 LmFwJbdm4aHvstkow7YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p11EV-00EQ7O-Ut; Fri, 02 Dec 2022 08:17:20 +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 1p11ET-00EQ63-PG for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2022 08:17:19 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1669969031; cv=none; d=zohomail.com; s=zohoarc; b=fcVewZldKncb6j1PoPnBElDnLVox713Ohq+ymTPuOo8IvxTOaFptP10ejYPnlmEvHvczFp5OW8VD4608FYsT2ykMULwTlEaFgG38g6ZttwB1xLa498jkiqrC7rqiBPahO+BqqmGzRFEUH1Oli+fW/TZ4Ab+1jtK7hxIio51sRGI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669969031; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=YIzz/PGBcPTlSH8dJ/HBResd3KIZPeXPFBtcS7AZsGk=; b=U0BI5HzvkqmG3tyLOdEf7w0a0xOgqCvQqlrm02qHJ9M1uhB9sm5nDTUQEl1SxvWTzS8BtJY0vfFY5IT3Lu3frFihwaKUaIjwULaaB3f7KjzSArpDvHzapaUNiwaNjhMAlLGFIq4/YOLnd/maYXyYUu0sM+K8A1FPEGbHsKjvMtg= 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=1669969031; 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=YIzz/PGBcPTlSH8dJ/HBResd3KIZPeXPFBtcS7AZsGk=; b=R/h50a77guC0LJhHmS5oRs+RJ5RY5hXNaghsbJn8Zd8lYCJ9bilII3xBTELK4f/N ieMSubjtbnfmdSSy1tG2XuvNfp8olpwaacCsZJdNbq03YU6Tw0+TKv+Dkcm9P+w061/ Zg1WhNIFNaqKnywKJZ2nuWg0JbiVxpj1hVexVkAQ= Received: from edelgard.fodlan.icenowy.me (120.85.99.229 [120.85.99.229]) by mx.zohomail.com with SMTPS id 1669969029673596.6798764411155; Fri, 2 Dec 2022 00:17:09 -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 v2 0/6] Rongpin RP-H6B support (and support for GL850G) Date: Fri, 2 Dec 2022 16:16:41 +0800 Message-Id: <20221202081647.3183870-1-uwu@icenowy.me> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221202_001717_895996_99E928A4 X-CRM114-Status: GOOD ( 11.24 ) 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 | 47 ++++ .../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, 484 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