From patchwork Fri May 14 10:27:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 1478390 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4FhPpB3hYDz9sWX for ; Fri, 14 May 2021 20:26:42 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233133AbhENK1w (ORCPT ); Fri, 14 May 2021 06:27:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbhENK1w (ORCPT ); Fri, 14 May 2021 06:27:52 -0400 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:150:448b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 149A0C061574; Fri, 14 May 2021 03:26:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id 74A2122259F; Fri, 14 May 2021 12:26:39 +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 dn_VdLJ88t-6; Fri, 14 May 2021 12:26:36 +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: 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 0/4] Add USB support for RK3308 SoC Date: Fri, 14 May 2021 12:27:30 +0200 Message-Id: <20210514102734.2091238-1-t.schramm@manjaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Cheers, Tobias Tobias Schramm (4): Documentation: bindings: phy: 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 arm64: dts: rockchip: add USB support to RK3308 dts .../bindings/phy/rockchip-usb-phy.txt | 1 + .../devicetree/bindings/usb/dwc2.yaml | 1 + arch/arm64/boot/dts/rockchip/rk3308.dtsi | 75 +++++++++++++++++++ drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 44 +++++++++++ 4 files changed, 121 insertions(+)