Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp773487pxj; Fri, 14 May 2021 15:56:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNZ8c+rfrZMtBS+nKEhYFeZwNYm3D2TLWV9ylJumKUMH5n7w7LCma7m8Pln9pEDtsR5UUw X-Received: by 2002:a5e:930d:: with SMTP id k13mr36207697iom.61.1621033000856; Fri, 14 May 2021 15:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621033000; cv=none; d=google.com; s=arc-20160816; b=CX+I+Yfb+/tSG5FzFmRE+Lf2iVk2WO68M+4tBGcOulloSB09ZZd4LGJgB+LIOdJPqG KI3zr2oBEtduHVV8GahVuj8zfTw7u7VHzdMtIZfVDMkYrAJeLRIYhXg96IYenKX54ayT /DdlEZ1Wl6DGzFvfXSPKCS/jGHKZ813VXMG6dyJLGZUZG+XXzMqRDgtPzkJ2CRN+SS94 VZMKS5tONQ1aavp1xa82yrH4nFVj3so1DEY5BKv89qxwW7J+YRuVw1QfiT5nStM/Refd OfWnEBzLpgQ5RPzv8LpNUEql612PvUBzbolfQqHXZ6x0ioI1IxESw3ZEjcCTi+wvQr6d d1aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tktCZ/xiUCmaqtQidVbHhHaJ29lGZ7PozKStUCb3k8k=; b=g6IhwIASDlHeTXKCnC4dp3Mc6c75tgG9lNHigAIzmc6Z8Sdb70hMBoqxnAFapAQdNv mZRs1Voy6PM7COAKhy04ELoipYI6hHw0qKAX576J3Ya7D4b5L9yOh7W9CJ2NB1G72oZs I+Yn5JD8i2H8WZ3j+1ZN3JZ7w/YzUAJQ0SsY3cVahZSK5x6WNOqI81iilCs29oPJNaD0 i3I5kuDbyMU5949cI/B8zESoNTaVRxFKYzUuJX6mVn85jbBGHe80IpAU7UQ1K9MRoqVN 3YwEIUSL+EI3oIuRi4g3yYRUGpPcl5txcrNCft/32N4l8+sGOzHIZjGr5u30sLDSHPvS M6ZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b27si1527315jaq.105.2021.05.14.15.56.28; Fri, 14 May 2021 15:56:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234595AbhENPAq (ORCPT + 99 others); Fri, 14 May 2021 11:00:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbhENPAp (ORCPT ); Fri, 14 May 2021 11:00:45 -0400 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:150:448b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B362C061574; Fri, 14 May 2021 07:59:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id BA3A5222583; Fri, 14 May 2021 16:59:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44q7tZGakigW; Fri, 14 May 2021 16:59:30 +0200 (CEST) From: Tobias Schramm To: linux-usb@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org Cc: Johan Jonker , Rob Herring , Heiko Stuebner , Kishon Vijay Abraham I , Vinod Koul , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH v2 0/5] Add USB support for RK3308 SoC Date: Fri, 14 May 2021 17:00:39 +0200 Message-Id: <20210514150044.2099298-1-t.schramm@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RK3308 SoC features integrated USB controllers and PHYs. The USB controller is compatible with the usual RK3066 USB controller, the phy is in general compatible with the inno-usb2 phy structure but is not quite the same as any of the phys supported yet. This patchset adds USB support for the RK3308 SoC to both the RK3308 dtsi and Rockchip inno-usb2 phy driver. I've tested this patchset on a Rock Pi S, works flawlessly with HS, FS and LS devices. This patchset depends on grf.txt to YAML conversion [1] by Johan. This is v2 of the patchset. Cheers, Tobias Changelog: v2: - switch changes over to Johan's converted yaml documentation - document "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd" compatible - fix rockchip,rk3308-usb2phy documentation [1] https://lkml.org/lkml/2021/5/12/464 Tobias Schramm (5): dt-bindings: phy: rockchip-inno-usb2: add compatible for rk3308 USB phy phy: phy-rockchip-inno-usb2: add support for RK3308 USB phy dt-bindings: usb: dwc2: add compatible for RK3308 USB controller dt-bindings: soc: rockchip: grf: add compatible for RK3308 USB grf arm64: dts: rockchip: add USB support to RK3308 dts .../bindings/phy/phy-rockchip-inno-usb2.yaml | 1 + .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + .../devicetree/bindings/usb/dwc2.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3308.dtsi | 73 +++++++++++++++++++ drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 44 +++++++++++ 5 files changed, 120 insertions(+) -- 2.31.1