From patchwork Sun Jan 23 11:16:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720918 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B109C433FE for ; Sun, 23 Jan 2022 11:16:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236215AbiAWLQw (ORCPT ); Sun, 23 Jan 2022 06:16:52 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38360 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236211AbiAWLQv (ORCPT ); Sun, 23 Jan 2022 06:16:51 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 1763A3F1E8 for ; Sun, 23 Jan 2022 11:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936610; bh=XKeSGyC9ItmJqAyykgNV42LPM38fJ31nboSTLUTfyvc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h7yL0qChX2eUu0cQ2CZurKPxVblH61lAvQNPufdWPVCCNjMrQTSz3L+MJz+bhOnpQ ntRAHlO6iPhM05USzFNMZZUC+rC4u8I5SMEbyAqdEWREPcJNVxZWC5kbWK8unqWCg1 oQmMXa6gglxtp26kyFJiQOYd3Xk1kCWc1k69M9VKvVBzqHjKj6xtxuAQp+lf75XQmr gP7go+yW9EocBVWJ+w+Wu2Nqjv+BX7gQ4j5cq+IgYH8OGIw5nyqvx/Zs9EiJUOzOE5 FlMIimZGCydpgLKut4yM59bqQo8GNG5ICPAvDzhYJvhQLeRBRhrwsRtOsuwN5qkMSJ jl2hf8iPsPXzA== Received: by mail-wm1-f71.google.com with SMTP id f7-20020a1cc907000000b0034b63f314ccso8984699wmb.6 for ; Sun, 23 Jan 2022 03:16:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XKeSGyC9ItmJqAyykgNV42LPM38fJ31nboSTLUTfyvc=; b=0SGFnM27WMEzOX0/nJ3MqgVxinv40TVdrBQVca9Kluly861YQOEeXYWmSKN6fnu/+2 DLKu6j9X9bjtBG0/A81TGNzAmUBTlyaMxLonHJ3T6J8B9fZARaj8IveNA+933N6B3Yof IBz5lDuYsZsNnqmrcJWCI/OKn51ZXsa6uMCymvGoEWOIBxtP7w30oiUQmesVQNZ29Ahy n15vCVvsH8XuT9/soDeOO5hdeKO4yZkKq5EtDABYlmqLYD2Im5hL7Zebdr51bpKTW92y N9eZIW+pjSLIAvnJvN59TxJLTtc3uVaSIU1BKNLCCYv4TYc34JsltZvlKYaBHReSZPYg 6WZA== X-Gm-Message-State: AOAM533BGqnNwTxv75E1rHsjJkRMUGGmVdw1eHTt/A/lBrWeLtk/Csvp zJNj3gYJVcpbpqqKUpTkYX+yyWDnf7LCp1gSN+Sx1hQq8RxI7DgNcD1q+E9xGw/C99Wke7p+HhM Dn0nXx6VGiaIDSrXn9EfGnjlIWB4PoKjJwEcoHOhYwokcE86N X-Received: by 2002:adf:f686:: with SMTP id v6mr9080079wrp.568.1642936609610; Sun, 23 Jan 2022 03:16:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQBteHKoyyNnf4rlz2MD505Wn16oOqHwd91HINqnK/froSXkyccBpxKSM0tEJs7mrQYEKfxw== X-Received: by 2002:adf:f686:: with SMTP id v6mr9080070wrp.568.1642936609419; Sun, 23 Jan 2022 03:16:49 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:48 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/12] arm64: dts: exynos: add USB DWC3 supplies to Espresso board Date: Sun, 23 Jan 2022 12:16:33 +0100 Message-Id: <20220123111644.25540-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos7 Espresso board. Due to lack of schematics of Espresso board, the choice of regulators is approximate. What bindings call VDD10, for Exynos7 should be actually called VDD09 (0.9 V). Use regulators with a matching voltage range based on vendor sources for Meizu Pro 5 M576 handset (also with Exynos7420). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 5 +++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 125c03f351d9..4c45e689d34a 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -412,6 +412,11 @@ &ufs { status = "okay"; }; +&usbdrd { + vdd10-supply = <&ldo4_reg>; + vdd33-supply = <&ldo6_reg>; +}; + &usbdrd_phy { vbus-supply = <&usb30_vbus_reg>; vbus-boost-supply = <&usb3drd_boost_5v>; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index c3efbc8add38..01b4210d8b62 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -672,7 +672,7 @@ usbdrd_phy: phy@15500000 { #phy-cells = <1>; }; - usbdrd3 { + usbdrd: usb { compatible = "samsung,exynos7-dwusb3"; clocks = <&clock_fsys0 ACLK_USBDRD300>, <&clock_fsys0 SCLK_USBDRD300_SUSPENDCLK>, From patchwork Sun Jan 23 11:16:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720921 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE763C4167B for ; Sun, 23 Jan 2022 11:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236264AbiAWLQ7 (ORCPT ); Sun, 23 Jan 2022 06:16:59 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56002 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236233AbiAWLQz (ORCPT ); Sun, 23 Jan 2022 06:16:55 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 929F33F1C4 for ; Sun, 23 Jan 2022 11:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936611; bh=XFI4x1c9o5rGbL4nhgosKocwg6qcvl4V6Q0rNOHSnCo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LQWqauY3KDL03QMvpqAus/Aqq7gLXSHqz/AOWp7ERLF9ZVUx/fZSy9gFE7Sdktk6t TGs17Ytrl32faJXiLSZjNUgDke8KGwThwGCDTzVbUI0cKz/X0mNRkM7LOXUU8+8pNK x1ujPH9nBBUXR6Yd31piUyQajkKhBktIo/YutrXPM2T+ZsuP53IDnnrr0RG0yOVzjT Z619yPV3q3kEuUX9w7tAuBTk4+luGqMufeNPixRwM54gOszyYwOTKHwBy6oXaww/ZF I33UULuvYxZMOfkxy+G7/Q4kcuHB17ie9SGbLpIh/eEtcHuJnZ618NnExCZ8rxS3vz 4Pquk1RUzxmNg== Received: by mail-wm1-f70.google.com with SMTP id d140-20020a1c1d92000000b0034edefd55caso2639382wmd.4 for ; Sun, 23 Jan 2022 03:16:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XFI4x1c9o5rGbL4nhgosKocwg6qcvl4V6Q0rNOHSnCo=; b=6aBNV7KK1TOmvI3/dHIV2MSgHflcD6SkrpDsknnZXWzFTkT3m22zsvWEdfZ9B5+81X xP6mRZ8HNCe2mVUhH5c0aO7hPOUcoq/aKVjvzUmIz/CRTqk9in8vci5QMY3Nu5XGv/Zr 0ZH2Kl1rSCoQgoRE5GEKYkJnFYwCRlQFV5Gd84ErPNrypGqFEW+1gmWvFDrpYp/p9iiA ueiDuAmb08XhhYPiOr3oqxxDY6YMB/xL2vV5MWTBCMj++HuucI7W7OiDVhTBC8tJhY2d Y+tqRRbFHyAMpza11zGwxRC8ZJFNqSpLbw0pxXgD4KAaSk90BOdRP3Za3rxT+qrvX4eS zh6w== X-Gm-Message-State: AOAM533m3CYyoZeBBvRnuZGj1eRC4+ZJfvg8Z48nzvQAEznBgzvRH6/X USSXrUYLJBRI3NYmc8vJO6F5V2d7f+bktvE9EUPbiD3H9g/DYsbq28ujClKaAiAJLEPe3WJJauG 49xF6o4Vg3FZ1iyLG58r8JnwFX4QrmYufLkXfeqzUCC4NqlDP X-Received: by 2002:adf:cd0d:: with SMTP id w13mr10537113wrm.522.1642936610794; Sun, 23 Jan 2022 03:16:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmyLPzIeaK4+b6dxFPm5eFCVZH0SGn36vHYUkppgtWL3y8Qu5THGeh6bGAfFL4+v1aOI+4pQ== X-Received: by 2002:adf:cd0d:: with SMTP id w13mr10537102wrm.522.1642936610662; Sun, 23 Jan 2022 03:16:50 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:49 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/12] ARM: dts: exynos: add USB DWC3 supplies to Arndale Date: Sun, 23 Jan 2022 12:16:34 +0100 Message-Id: <20220123111644.25540-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5250 Arndale board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 5 +++++ arch/arm/boot/dts/exynos5250.dtsi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 3583095fbb2a..e639cf6d9b64 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -632,3 +632,8 @@ i2c_ddc: i2c-10 { #size-cells = <0>; }; }; + +&usbdrd { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 139778928b93..a6f48f31f618 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -637,7 +637,7 @@ i2s2: i2s@12d70000 { #sound-dai-cells = <1>; }; - usb_dwc3 { + usbdrd: usb3 { compatible = "samsung,exynos5250-dwusb3"; clocks = <&clock CLK_USB3>; clock-names = "usbdrd30"; From patchwork Sun Jan 23 11:16:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720922 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE313C43219 for ; Sun, 23 Jan 2022 11:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236246AbiAWLQ5 (ORCPT ); Sun, 23 Jan 2022 06:16:57 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38394 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236224AbiAWLQx (ORCPT ); Sun, 23 Jan 2022 06:16:53 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 4CA3A3F4B6 for ; Sun, 23 Jan 2022 11:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936612; bh=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q0ESiPfYBcTACElUi/5sTRv+/X29y1inVLbHRBFUoF98mmn5t698WSXNXop0uJyee CwUgiGfhbeMo6P4l+GiSfsF2PXrBq7iBu2hHCcMjq6oHikSAYFUSWLqksxgGxNiPNW hiEjqQQOexBOVTHd3Gdq9bhQjiJlwhyrRmFDqFDzs0fmi9GxB5ta7polPf4shYgThy j2JUq2PQzb8zwOldpNts0+nk0XIgGbXc177NIOjm2bDOp6OCZqa9oO/o9QQGlQeMm/ 1LP+QEEfX0aT+0qIqxbiju7pnLJ8Dzm9xs5x7esPq/e3wQkgDrsp/fFKCAYPa3ZwDl SX47qoWDiXf/A== Received: by mail-wm1-f70.google.com with SMTP id m3-20020a7bcb83000000b0034f75d92f27so1015023wmi.2 for ; Sun, 23 Jan 2022 03:16:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; b=DZcJt1Ahr9b2TlVkeZbr+kWR9OgMFsWMVKqVAMNmsE6+jQ6XZ77TDx5oJQIOZ74EaC GSfJME+9cTqcYiVJvRskbxS1RM/3JgOPbNeOMzbCRcf3QWNSsbGzd9LwOY3JMTvs24Cz u/9FYBeN0Quo2HzwhcJGgaUmAxT6FmLPGHYYngTaffjJGuEpm1mO1fV8gaq5I7ah/7yl fZNIc9jvgRr9SwNsisd7+5pP7fFCI9G1Iip7OubVD9cTZQxBJqNt9S04sVpw0XlLL/Bc 8Ry/F9g6P6oNCtxlvetvI8He5yn1C5/5Y238osdxbFRcFRnaOS2CUX4JJTSsrVvhglMU YLzA== X-Gm-Message-State: AOAM530onsgGL6EY/gPvuTPOkxt8HMSDCV0wUJ0RlzNKwv9Brvr1hYBq UTfwnZUhHA1y7Bk2bIxuIojo4k57SGyf5Hq80T2nCdj74pWs5FR6Ox3LwxbXMYZZXAGWa5k72hV qTJsvaPrCKydLq04y5WP3jhSDCmWvBQiaba4J5aaeWgkHl8LJ X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650489wmj.68.1642936611945; Sun, 23 Jan 2022 03:16:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBpH9pPJ+LM0El76Z0koYfHiM9syIgi7ocm+JAQM3ZbsaChUMb8L30RzWfa7hIIqOsAqEd9w== X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650468wmj.68.1642936611756; Sun, 23 Jan 2022 03:16:51 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:51 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/12] ARM: dts: exynos: add USB DWC3 supplies to SMDK5250 Date: Sun, 23 Jan 2022 12:16:35 +0100 Message-Id: <20220123111644.25540-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5250 SMDK5250 board. Due to lack of board schematics, use same regulators as on Arndale board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 39bbe18145cf..53670383d607 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -417,3 +417,8 @@ max77686_irq: max77686-irq { samsung,pin-drv = ; }; }; + +&usbdrd { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; From patchwork Sun Jan 23 11:16:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720920 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E4BAC433EF for ; Sun, 23 Jan 2022 11:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236255AbiAWLQ7 (ORCPT ); Sun, 23 Jan 2022 06:16:59 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38422 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236235AbiAWLQz (ORCPT ); Sun, 23 Jan 2022 06:16:55 -0500 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 50F884004C for ; Sun, 23 Jan 2022 11:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936613; bh=grI5UfAEDAIP80sPof/wJdxtniWt65JOOqzZgKpwDAo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=v+8DeblTUjeFPYy3Bz1ZpaYt6NVCu4PfpjYkOc1U7vIoEPBLxyPSVDk3M9hUgfKlu AyUcG4OmFR+vu4bgn919KdDr2m6jtDzXLJp9RpbendqqQFNTqdR0047v7fi79PgPfX S7l0GA9R4STO1iQf9gTzTZE04O7He1Ijzls/4HY/93rvwN4TrBO3YKYX/Y1Zie+FT6 HYZJ02x9y8Ug1XANcDtQIZR1AQpXOmP9gQIqSBkQ8HNrxfbNBsaV6B/3jwplRiu2mV tmmylyknHowzgFBG/S4hueN6Gad+MibMr/jmiLEst0O8qUjidw7wSGQVDHzW7tSeQp 1JiUuwMs9KEzA== Received: by mail-wm1-f72.google.com with SMTP id l16-20020a1c7910000000b0034e4206ecb7so4868259wme.7 for ; Sun, 23 Jan 2022 03:16:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=grI5UfAEDAIP80sPof/wJdxtniWt65JOOqzZgKpwDAo=; b=mkOgYsqB9uabwF42DCMbxE93hDqZsvo0vFyKrBW0PDS5MQ42P96rWV8vSM6pdzKoMM e3zRwz5HXrqp1dTwYFiqXMR5sJGBhJ/0w/dD0sj9VPG/7/NEfZ8g5GXloYYBAZMYAQiA z2zUf8DJ67fhwu/3x/6U2YbR03l2uaZrmaWZyxkXG0P+RU0e4Wh8loySA6a9Z8KRo8OH KEXBon0ldWW6hYwrbLc2VPRWd3vNg6HJJWSX/hdz8Moektyw+ERKPf6ifcrQDYZUGzWo BsmNTHYgpQ3gt6bXUSvTDwBTZcVS+paOx2k+MzbMJzX1C+9ZtN/52rOerWQTDCFMMOBF pcDg== X-Gm-Message-State: AOAM532qzBXZbleeLED4dfzA7VIj7HNVzuDL3OwzkdZESXYrhdo1G/tn yzroiLxICZUZQ5pUWbCropVfDZV1CSR2bLKaFSH9sELam0BHWMoiXqUrEdE5q8aWBLHMC4aWnPj MBXBV9LIzNhI+sztlEMWBt1U8H6He6fyDVHt2vF7WEjmmi8MI X-Received: by 2002:a5d:5887:: with SMTP id n7mr3788124wrf.95.1642936613067; Sun, 23 Jan 2022 03:16:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxdELQf6sIqrI/0YVD1AI+KkjLutbJQyLtovsY93KZNKsW7PHRBKT0U90IZXspsKI6wQudDQ== X-Received: by 2002:a5d:5887:: with SMTP id n7mr3788117wrf.95.1642936612924; Sun, 23 Jan 2022 03:16:52 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:52 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/12] ARM: dts: exynos: add USB DWC3 supplies to Chromebook Snow Date: Sun, 23 Jan 2022 12:16:36 +0100 Message-Id: <20220123111644.25540-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5250 Chromebook Snow board. Due to lack of board schematics, use same regulators as on Arndale board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 2335c4687349..ccb32d53d598 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -698,6 +698,11 @@ &spi_1 { cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>; }; +&usbdrd { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + &usbdrd_dwc3 { dr_mode = "host"; }; From patchwork Sun Jan 23 11:16:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720923 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3180BC4167D for ; Sun, 23 Jan 2022 11:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236279AbiAWLRA (ORCPT ); Sun, 23 Jan 2022 06:17:00 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38444 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236238AbiAWLQ4 (ORCPT ); Sun, 23 Jan 2022 06:16:56 -0500 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E405B40052 for ; Sun, 23 Jan 2022 11:16:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936614; bh=mZrAftbEtCYMgTENBFFGXCuFnaLbp5VnVYmLha/DMRk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SH1O7Dkc41IHRMFbDOfEVJG/NO2Uu2LOs6vlYa8+lGK2E+/sOeVlrf2VJgaTIYHlB HcjeJXeyS9ILljzp0vRtAnKRzTzJUIa0E0U8LBFfvWmgdfeoo3xiEZ3U0W03WkvG07 dQrMxeEJkbp3erpRnWUa/Z2MNNFSi6his4LWaqdQkWiML3nfQTAMjD+mMo/h79u9Nk 3rxGgLArt+u8EZ8XAAkQtGd4+b4RWgIoF4TnVbRZ7qjeYBG9CmS3yZddXfcGk72oYT /1CpQ+l5Vn6/nxqMoYbfsphUguzuB8uQybmhSxmCaNWrDC9xXm97GIV8kOsDa0TGzL MVz9HWhFle9mg== Received: by mail-wm1-f69.google.com with SMTP id a3-20020a05600c348300b0034a0dfc86aaso12951873wmq.6 for ; Sun, 23 Jan 2022 03:16:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mZrAftbEtCYMgTENBFFGXCuFnaLbp5VnVYmLha/DMRk=; b=CQNEK4uuGepUoX2JhzUUx90clUiMOtHrVc39wVsUjMMhjvKlhbdqfdAnxcZ00OVyxO JbByrydfWA/N+5HEY7aC+w4nYO09w7eBC8l/A3HNZAZVSb2VJrwEjBKi9gFuvIy/aQ7I dulAsSMZYTXDeaWvyeaT7/uCNQS8v+kPj84/H5v2DNu2DAPKmlY93jALcSdZx/D5WJ8M XfQiLF2JnPRN5S2X52DxM/tUphqpg1FH2+U6d4QN0n6eKmcivuXZ1ergVHTcjPfHDqZ4 vZx25ZmmmzPO2LtKqEHjpongAbhZqN4jzV7SN2EulPUuYD9DReOWaxcbg8OYFy8R3aqb NnXg== X-Gm-Message-State: AOAM530MMaaas83ui5dbvkLCZCm8imfvmu7Qq3yMquXvaFyV9ljdxLX1 viM+Dt9MUWQpHL90IrCmbRRHIzJekObViqeNaB0zsnc4y89KOmDupUe1woKh6INaev8lZVKEc7r AYp9u6hyYMiWQUVQf7gwM3peReqfg5pbYuuwWkWik+nZwEhBW X-Received: by 2002:a5d:64a5:: with SMTP id m5mr2349922wrp.596.1642936614109; Sun, 23 Jan 2022 03:16:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbgZpejnF9FsaGyv4Km9SlVIA0mLrJyWVOdw4PpZPzd2pNEg41zEEfiODSBE5ZfvFaMZwUFg== X-Received: by 2002:a5d:64a5:: with SMTP id m5mr2349911wrp.596.1642936613937; Sun, 23 Jan 2022 03:16:53 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:53 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/12] ARM: dts: exynos: add USB DWC3 supplies to Chromebook Spring Date: Sun, 23 Jan 2022 12:16:37 +0100 Message-Id: <20220123111644.25540-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5250 Chromebook Spring board. Due to lack of board schematics, use same regulators as on Arndale board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-spring.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index e0feedcf54bb..138f51f974c7 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -553,4 +553,9 @@ &spi_1 { num-cs = <1>; }; +&usbdrd { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + #include "cros-ec-keyboard.dtsi" From patchwork Sun Jan 23 11:16:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720943 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C517C433F5 for ; Sun, 23 Jan 2022 11:18:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232454AbiAWLSi (ORCPT ); Sun, 23 Jan 2022 06:18:38 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56094 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236275AbiAWLRA (ORCPT ); Sun, 23 Jan 2022 06:17:00 -0500 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id E4C193F1C9 for ; Sun, 23 Jan 2022 11:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936618; bh=7G+hY+R5nLZKUZJkJX/xGI67gHlSdcGiauOov4lnBec=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QQaU9dLeMJ+8ZKHQsNNwQaJMapp8hhPJ70gar55FFG12hXy+LgWt0ZaAMZyUnBI7E dQEbsOQNnuCfL8qkmLUSezCjbsPV+FrUy2vgekOyHd3NmBLiZdf/YEGQmwC17cXtCY CHAIvgPa6n0k95kKukwHQMYnnXT9/OuJayvCI2QF38A4Bj74ybkFMDlffjsdicsosT rq0ivFDGmySEuA6dhsWAoh7SqBv8E2TMpm8w1YxsqtN3ijsPeWuc82HqrfifTJ/G1F Wl2eukZdB/dgdrB2lOSv/zUfp8OBTdCDeX1uG7vfvN/ytockB2iSo2uZ0VQvW1ihpB d3zWfjWekVQbQ== Received: by mail-wm1-f69.google.com with SMTP id s1-20020a1ca901000000b0034ece94dd8cso2950656wme.5 for ; Sun, 23 Jan 2022 03:16:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7G+hY+R5nLZKUZJkJX/xGI67gHlSdcGiauOov4lnBec=; b=BgYifyHGeaujFbw+wsg/bfWHgZXN4ydDw8EnSc1/PLe4m0OYr37UtTvcjGk9Ai7xbu gBhUlQsjFIWkWlwD+YC180IlQIbn9d1zSK98319MZOYJMEfnlroFjjDJZ/9eb7viDPRR sTU9L0SRL0VE8VKQGGL2URls26czE+FJlJEFIpz0d+LmHKfgS3xw/vYKJc3TSroIqjUJ nyid0Dl6uuqalA4/GAs59kBp/VaEfoKyn9nGHEymmxN0reasng7iPlq6nohOAVxViv6w nnJsFeRrpIzHAlfDC3E7NtwVHVpRY+ZbRPYbk5kOnWBAhbkSyXGP0YJXtiNvda8ZqCgy ZcEw== X-Gm-Message-State: AOAM531KJGVMeO9JBeuqZNjtffdD1tU79HgpRS73TheJDBgO4J0TJxI6 nmxFYcDYtCIbPHr8wq3OluWDnnjdlphMpbBzW0M02hhseEZ+lIlxc0VAvsdfWwTSsSj022qoDpB WHWjddFjB1p724Cn7Yy0rvKCbREdlHapT3K8/Ml5JkSi3NSkK X-Received: by 2002:a05:600c:3b8e:: with SMTP id n14mr7635817wms.136.1642936615422; Sun, 23 Jan 2022 03:16:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmZiv76Qfw8F68YMkxoE3Zz0Ow5IhFbzrvbpiFnZTw5RuvqW1IyxGcoXhMn0pmZj+he53E6g== X-Received: by 2002:a05:600c:3b8e:: with SMTP id n14mr7635808wms.136.1642936615301; Sun, 23 Jan 2022 03:16:55 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:54 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/12] ARM: dts: exynos: add USB DWC3 supplies to ArndaleOcta Date: Sun, 23 Jan 2022 12:16:38 +0100 Message-Id: <20220123111644.25540-7-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5420 ArndaleOcta board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index dfc7f14f5772..ffdf0e247c15 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -825,3 +825,13 @@ &rtc { &usbdrd_dwc3_1 { dr_mode = "host"; }; + +&usbdrd3_0 { + vdd10-supply = <&ldo11_reg>; + vdd33-supply = <&ldo9_reg>; +}; + +&usbdrd3_1 { + vdd10-supply = <&ldo11_reg>; + vdd33-supply = <&ldo9_reg>; +}; From patchwork Sun Jan 23 11:16:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720924 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70BC1C433FE for ; Sun, 23 Jan 2022 11:17:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236162AbiAWLRI (ORCPT ); Sun, 23 Jan 2022 06:17:08 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56072 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236267AbiAWLRA (ORCPT ); Sun, 23 Jan 2022 06:17:00 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 37A3F3F1C1 for ; Sun, 23 Jan 2022 11:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936618; bh=oFyg+gwb7XtvC7QbtaeH/MyDAvhazxDlD6i95VQK5XA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vJN5ZXeWlHeGIfbb6QuAq6Ql0HkFtyZurbuLagsTNwiVr1hEyX5H+g5P2k02ByR0O kJCf1zU6CH/eTWqULKEYCg0YN1xgUUZQ6Zdb7gOm6v2Fi0i8u/iM1fd16mdJNuKktp tvDXPCE4RzUTta1m1HrdU25i7FHFvJ5rme4OqtrYhE54WjtXjYO3YKC8RIcmm6wHPh AXlboLZlWAkGSdjNozOyMJWu/xaYwv5uIYfQ6+imqp2eU+UKfRwNaXG/g2gfLt8W+U Aw3WiFsbrwB5wk9hZt2GfoJqr2UA+gTRl+w/w7PUOYKerXNjZxAfdMEA/18qIatOD0 +z8HOqx1xx0QA== Received: by mail-wm1-f70.google.com with SMTP id a189-20020a1c98c6000000b0034e32e18a21so6660128wme.9 for ; Sun, 23 Jan 2022 03:16:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oFyg+gwb7XtvC7QbtaeH/MyDAvhazxDlD6i95VQK5XA=; b=fh2PY30WH3AJJOWjJwncJSsSBZp1cWzoNJxmN1pwIMTpRJLaucNmzgXh80cB5zPwjI Cs6jVc6sE8Kkv4OzVhVIW3T5X+Q1gO5/k2I9JsILlF9JjZctGHnxp/00Xbsq3h0J2Ktb QXl3/pXDaXiIvX/BresslPI50AuWGuYAK704P4r0ODyTk9rrTaJ3hMlCeExnkhYkH4r6 O7UrqvZCwVlBuwDN2RQvGN7tIb9GUWPm7gKVZGTVjgUlHrtxHhWUbjP2oEzVNKL1pVT0 22bdkQhwIOEhXA2NHT+LBU3O/HlJLuj4hudq7imX1Y6y7+ApPeeVUNZcY37WX5xfJpiW qC5A== X-Gm-Message-State: AOAM530hbvgrvEyHXFb0T6B7t5eZtLUDEKiHFGuagADh4p1o/q+ekiet 9DfL6LwrXaMKyM53D7z0z3XYyLu0iU2EDnqrEwXNefRmgFYTh36sjGLAa0Mq1BsrT7M4W+o58oB 4eRIZ3ksfIS/fULgJj3DbrTQ1PjjdRV9f3t9k5okazU1tYbWm X-Received: by 2002:a7b:cb05:: with SMTP id u5mr7582893wmj.59.1642936616521; Sun, 23 Jan 2022 03:16:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzl/THDIXXxYVsa2sg8+CimTWrhi2Zjb2hJxs9yZ1xXuWrxrnlJt2icnBT+iFNOebYeJ8eo7g== X-Received: by 2002:a7b:cb05:: with SMTP id u5mr7582884wmj.59.1642936616338; Sun, 23 Jan 2022 03:16:56 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:55 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/12] ARM: dts: exynos: add USB DWC3 supplies to Chromebook Peach Pit Date: Sun, 23 Jan 2022 12:16:39 +0100 Message-Id: <20220123111644.25540-8-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5420 Chromebook Peach Pit board. Due to lack of board schematics, use same regulators as on Odroid XU board (using same MAX77802 PMIC). Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index e76fb104db19..6252089e4350 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -1090,6 +1090,16 @@ &tmu_gpu { vtmu-supply = <&ldo10_reg>; }; +&usbdrd3_0 { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + +&usbdrd3_1 { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + &usbdrd_dwc3_0 { dr_mode = "host"; }; From patchwork Sun Jan 23 11:16:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720944 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36E24C433F5 for ; Sun, 23 Jan 2022 11:18:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232559AbiAWLSj (ORCPT ); Sun, 23 Jan 2022 06:18:39 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38486 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236271AbiAWLRA (ORCPT ); Sun, 23 Jan 2022 06:17:00 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 672773F1B7 for ; Sun, 23 Jan 2022 11:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936619; bh=y357G77gKMHlTfzCL6+HEz+/UzqdnZT/McDbXpsW3BM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KCEyfW1Y6dhBG3hW8vyZXJjvQbrD3oKyZFy9b8+yB+ZaGJP2IulJs6Kbm/d2a/7mX 6TvYjaztkoBVaZIeZgSzq/PidKwSQgM6xK8evA5FNuF2WeNB4PJGfZic2aZyavpaTx kdTZBWgTVmosWR2b8JbQIMS7W8/S69VT9r0NOiCTb3fzmKKV+rP/zEIv/dLVB7D4iF 45isw5dEVFJAl+JZExXPXd/9QilYsEN3DRJDctsW3bEDH/1NDqxENauFS8IzMcY8HY OAc82syuHmC4AH3GFVpCRKpts/CXBz+Do1wfHBrAmV7k89PxsrocODhUYABuLbkQqg 14NEpFGZjlAZQ== Received: by mail-wm1-f71.google.com with SMTP id a189-20020a1c98c6000000b0034e32e18a21so6660169wme.9 for ; Sun, 23 Jan 2022 03:16:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y357G77gKMHlTfzCL6+HEz+/UzqdnZT/McDbXpsW3BM=; b=YMvVr6QJ15xbm4Znd8BNGg6EZF6DwO6DZUJ7/4Hv7Ro9EUAwqFCjdQRP6JlbXGfeQm V7BgDWKHmCo8cx1LBtpjK+NJowJjYDCXpGGXnkybANHmuGk2kZ6LAxGAXg4kdBT4z93m iYAs1A8R4vEOCXVHE+/nqBxwKvN2LQBpZNeqmVwW5AAtk7c8Tqc1+ht70kE5oF4NddBh 0bXhYxmAqPapPfUfHnXfxRCZFG+1GRhtf9anwdAbMhCPTQofbNzAKxkeRhgxtWCwQoXS MIrTpRavHen0XBbWLBX826zoX3tJuJ6c5LFeg7DdOCsDaa2fn+vZ7dDL1OPazIdhL+35 wE9g== X-Gm-Message-State: AOAM532gdz95sx+r7xXsAEsSmFAG+EWpZrfbqybeYiZaMTGebVqEni87 HMEYWqFy3fByna0br9P1sUBK5o+l04bCO6kMjxao/tD9T/qKr1JVRI5JkDsLm2mvjlfbCREGRDp hw/qL9iXuGz7+XF3sMqsva7RyesMKooT4OGbVftlPsmTkI5Eb X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245496wrq.552.1642936617998; Sun, 23 Jan 2022 03:16:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwb59CpOjfY8CfprDukjo6039z0OQ3gfs8X3bsvt8yvFXtOAvk66eFpeVM1qtu1DqKws8uQug== X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245485wrq.552.1642936617866; Sun, 23 Jan 2022 03:16:57 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:57 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/12] ARM: dts: exynos: add USB DWC3 supplies to Chromebook Peach Pi Date: Sun, 23 Jan 2022 12:16:40 +0100 Message-Id: <20220123111644.25540-9-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5800 Chromebook Peach Pi board. Due to lack of board schematics, use same regulators as on Odroid XU board (using same MAX77802 PMIC). Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 77013ee586f8..fd6f80a9c64e 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -1072,6 +1072,16 @@ &tmu_gpu { vtmu-supply = <&ldo10_reg>; }; +&usbdrd3_0 { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + +&usbdrd3_1 { + vdd10-supply = <&ldo15_reg>; + vdd33-supply = <&ldo12_reg>; +}; + &usbdrd_dwc3_0 { dr_mode = "host"; }; From patchwork Sun Jan 23 11:16:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720926 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E28FCC43217 for ; Sun, 23 Jan 2022 11:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236338AbiAWLRK (ORCPT ); Sun, 23 Jan 2022 06:17:10 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56108 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236281AbiAWLRB (ORCPT ); Sun, 23 Jan 2022 06:17:01 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id C11C33F1E0 for ; Sun, 23 Jan 2022 11:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936619; bh=66G1PF8Q0lr5LRIbEYZW0Tv4PnJMOlbJQ4z7W8Ayj8M=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mOOrFPaB7NK12JbqA1RJfp4LAxPp0l/w5M2vNCK6geVLim9Soq7V9HanQcm8JWGJI RC6PtM4g1WvaYye9u8IXqUD25JAhN5+h+nQoZXF4+iiLu8ZTkKs5mALuKy71Afqgfe XXRbFnePZn0kpcnIOh1nqP43HwBq9zL+GNr42OR5LE28t3lw8zY/Oa2/m7DJuWifzK tydE7dV4nYfjdbIZ7p61+Q3tc51AvYtN7/km+18e3jdYb6w96iKYpkcF66X2G9MWr8 hCw3IDWD57zUpC+ScQOZ9B47UVjMZeu/h22bSAze51NCHoHqeXWbiqoOgrunIpCXVV bDqw+AS9IvFTw== Received: by mail-wm1-f70.google.com with SMTP id m127-20020a1ca385000000b0034e992a94a8so1471595wme.5 for ; Sun, 23 Jan 2022 03:16:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=66G1PF8Q0lr5LRIbEYZW0Tv4PnJMOlbJQ4z7W8Ayj8M=; b=hdhiZZK9VbuE0Sv7jkVeespE/l4XKnweMDz18JeYLzBbEx7Uu6E+qSMc+ZRTgy8JHE vCFL7GplsKNB6U5fZ18WiDX/3JtcnvxM/WgLLDqDuTK2OjsPms80xSTCboYzvyCQSC5z VeKT3oceF/SfADK/UhXxxXmdKiZThi26aNJtoBHjZb9wQDKKb+HBa9H5T6upCPPA2aRA 8at9cOEeZ7rWzEtOdw8UQp6tD10zTTTqUSQoAvXjRKW2PXZ/xLe+ZmOnYIuIbc5zcdTB Xi/PLOa4pZZt1NZpKsFKAWC3ymifdd3sJqF67BG0B2Do/JIYqxvXr7M+NjpqOmDuDrOQ YAeQ== X-Gm-Message-State: AOAM531tQQgs021e9AiEOfY3Ly9hadaOzdFz7OPpY5wd+D+DbzI6LjEG gzLFuM1kDquLvXjxjUZ0dJWgNGcITS/Rxa/Er7H+FdDQrqBPoC6TOdm5lncCwjlp5+oEiqWPXJV 7l/PIp5V4m4MJUh2PQiatoY4Z2pNBDcHClZRUDM8lBgjcoQ51 X-Received: by 2002:a7b:c4da:: with SMTP id g26mr7689624wmk.191.1642936619325; Sun, 23 Jan 2022 03:16:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEem2eKrggZGWq3zOh3tVCEin/9AMSkAxLad8GyWyumd6SS0jXIESrFaTiCvb+wPkBmGYPsw== X-Received: by 2002:a7b:c4da:: with SMTP id g26mr7689615wmk.191.1642936619200; Sun, 23 Jan 2022 03:16:59 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:58 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/12] ARM: dts: exynos: add USB DWC3 supplies to SMDK5420 Date: Sun, 23 Jan 2022 12:16:41 +0100 Message-Id: <20220123111644.25540-10-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add required voltage regulators for USB DWC3 block on Exynos5420 SMDK5420 board. Due to lack of board schematics, use same regulators as on ArndaleOcta board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index a4f0e3ffedbd..69ce3e430863 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -407,6 +407,16 @@ &rtc { clock-names = "rtc", "rtc_src"; }; +&usbdrd3_0 { + vdd10-supply = <&ldo11_reg>; + vdd33-supply = <&ldo9_reg>; +}; + +&usbdrd3_1 { + vdd10-supply = <&ldo11_reg>; + vdd33-supply = <&ldo9_reg>; +}; + &usbdrd_phy0 { vbus-supply = <&usb300_vbus_reg>; }; From patchwork Sun Jan 23 11:16:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720925 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19E86C433EF for ; Sun, 23 Jan 2022 11:17:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236234AbiAWLRJ (ORCPT ); Sun, 23 Jan 2022 06:17:09 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56152 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236306AbiAWLRE (ORCPT ); Sun, 23 Jan 2022 06:17:04 -0500 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id F30553F17B for ; Sun, 23 Jan 2022 11:17:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936620; bh=dx9J171TH9ajdx0PBtS6Tdib7oh/eqVqsvAw3pSWKnc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lHLj1bzHjNlNxS3oxeonrEdyowwT5vlnUHkWEype4eGaaLycbsLJGGo1zu3IzWqFy /VRXjXFEz0zQKqcX4CQ9Y/u1RqoWsL1IoPt86VkZLerJwhF2TpCP8dzW/KKlPZjOK6 pA9TaFbf1UPe0xe9eUgrjY9cAEjiohA9Q7LhQYob8qFISduLw59ZlyFwG5GuH97Z7m XOUaPNnWFxSA4nzZVoUy12H5QuxL5TqYHb6scnmUzTGaw55b9/HkXzsSDPFz8kdd3u 5mSjFwJSlJPUlmOKuz2+nMOM76rPjkY5xVC3NifYzf8XHU7F53gB9yqVEH/6vb3pls loS9bCR4cqGiQ== Received: by mail-wm1-f72.google.com with SMTP id f7-20020a1cc907000000b0034b63f314ccso8984931wmb.6 for ; Sun, 23 Jan 2022 03:17:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dx9J171TH9ajdx0PBtS6Tdib7oh/eqVqsvAw3pSWKnc=; b=bvT3kixj3SrESrHbyrrCNrW5kROJGcBOpm8QX3NC9Kco9LERwgP2PwSnqjfJgaKF3W g5Ibn3JbLGqc4HHihnxA86XTfzTUir0wMf0ocOJK8MJP8/OxwpmcfibGuUCULIF2im/Z c3Z3QCiWYrzcLVuSOXkg0fdLQKijeaBbKwM+f+0Wkw/lbDEUT/5XhzuLKEntK0FLzSAG ALXV5eGfmUMyvVUbbo0xb/s4Dhm76div0ARwP2T1lVb2WVLDnDcwzoZRaUAUj3qt5zK3 TQHqpiyjAys586UEnpzI8IFdIk01e7BRg0TEyg+zhoO9QS9hJ1iS9gHkwxnvek2+NsLU 6E1g== X-Gm-Message-State: AOAM530DqXWcsOKCTvkn+NH1BFNRwID6vEW+xCPrqmvlWJ6Gu9HvVzIZ RM8fpgjivXyH58qvf8/GG9N8+1gjYBoOtMB1pg7F8RlRILacSd7fmibfQWoxKkvg8UJG/CS4e6t 9eQzvyqe1JgdVJEEw+AbiZgkeYobs2VlPJknY/HaiPJZM+q+H X-Received: by 2002:a05:600c:4f93:: with SMTP id n19mr7602126wmq.64.1642936620701; Sun, 23 Jan 2022 03:17:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYjK0VxAe/EwPuFaJgl6CLlYcZziFBrDEE3OaETwss+bus0ChDXjO9A4TMNzg/RoD3ooiJnQ== X-Received: by 2002:a05:600c:4f93:: with SMTP id n19mr7602112wmq.64.1642936620519; Sun, 23 Jan 2022 03:17:00 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:17:00 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/12] ARM: dts: exynos: add fake USB DWC3 supplies to SMDK5410 Date: Sun, 23 Jan 2022 12:16:42 +0100 Message-Id: <20220123111644.25540-11-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add dummy/fake voltage regulators for USB DWC3 block on Exynos5410 SMDK5410 board. These regulators are required by dtschema, however the SMDK5410 board does not define the PMIC providing regulators. Use dummy fixed-regulators just to satisfy the dtschema checks. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5410-smdk5410.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/exynos5410-smdk5410.dts b/arch/arm/boot/dts/exynos5410-smdk5410.dts index 2a3ade77a2de..eae69e857247 100644 --- a/arch/arm/boot/dts/exynos5410-smdk5410.dts +++ b/arch/arm/boot/dts/exynos5410-smdk5410.dts @@ -41,6 +41,19 @@ firmware@2037000 { reg = <0x02037000 0x1000>; }; + vdd10_usb3: voltage-regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "VDD10_USB3"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + }; + + vdd33_usb3: voltage-regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "VDD33_USB3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &mmc_0 { @@ -121,3 +134,13 @@ &serial_1 { &serial_2 { status = "okay"; }; + +&usbdrd3_0 { + vdd10-supply = <&vdd10_usb3>; + vdd33-supply = <&vdd33_usb3>; +}; + +&usbdrd3_1 { + vdd10-supply = <&vdd10_usb3>; + vdd33-supply = <&vdd33_usb3>; +}; From patchwork Sun Jan 23 11:16:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720941 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 015B5C433F5 for ; Sun, 23 Jan 2022 11:18:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbiAWLSh (ORCPT ); Sun, 23 Jan 2022 06:18:37 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56170 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236313AbiAWLRE (ORCPT ); Sun, 23 Jan 2022 06:17:04 -0500 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 851333F1E6 for ; Sun, 23 Jan 2022 11:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936622; bh=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wt+KhM2mFv1dkMNzMtfVf5uDsXmxwn7dbfZNHDY4a7RiFclcRpSY0/uhH6pfqCXXG /sdDCsV2eRl5Z3IG6Ko8qXCEq4ef+vgpsuJBtPTuvwEnVUbXAuuyR8dbnQ3vFBFQOQ UMLq4zzmnFSXgRydooJnDpAS3OdI0MXzox+8VOgX7wqDw1BDXUbsNDUMOAV8JpsXQT HmEi7WDSVV2hhYv6ge/zmocwZVAQnXwgSiGVQ0pv4k6nqVx4xNqSoKNr36srk5y+GV T+mSfUjRLUelIjd114/aHiybMEbDfVs2H3sl2/WbiymhqNBo3hUJXVPI4m9Nh69Ow0 taPrlKETLGXHA== Received: by mail-wm1-f69.google.com with SMTP id s190-20020a1ca9c7000000b00347c6c39d9aso8997388wme.5 for ; Sun, 23 Jan 2022 03:17:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; b=YYJfJNlqG+pZZWzrBeABP2ymjPAuuJE9cXOKXJmYrOX26xD0fScmZZMHwuDyMaMvIN qYLBGk5pB/pnD0oZFlxeaOrC9AkUgI/L9QF2dLxW0jr91KTlcuCWa1tvOgM/s0ZvEvS8 uAbXlVHPysY0fx68pKFgyn59wtM/OeehazHKUGuFMF4Ndb3NZt/biF+ifuIvUqDHWKd0 wNrJD5YluVK92ldcbrkq/HPqYtWqRc8G/XZ6qdvCjofUDDs3Z+4mG+VIZtYn33FwG3Hd Yo6hvgEvGtBXWKCO+XgrXIJZu29dZgK7TxgVkjohQs9XVYyMDv+bu0RdUtGQCLH20jPg cjzA== X-Gm-Message-State: AOAM532ZTYXN+TIeJvG0rJJxNlvfvRDO6V7txM7fX1ENT1keKkz+Sxra /Ekm4A9wVDbPDYvEM8xnyXcbxIHLpi82TnySSsAm2ehM3qPni8US8i+dYk81VCt6aI4DSIYBaf5 Qt7cR5RMotmQzzlvr1rJ2QLC68fmCie99f1vs9ee3aNKnvHHT X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr10440922wry.463.1642936621936; Sun, 23 Jan 2022 03:17:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8vEp7Vbb4edxetjja0CtTBaq3tLQ3uCo8NoID5rxQyu48rFqaGBrpxZUr1gN+im28clIKWw== X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr10440914wry.463.1642936621736; Sun, 23 Jan 2022 03:17:01 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:17:01 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/12] dt-bindings: usb: samsung,exynos-dwc3: convert to dtschema Date: Sun, 23 Jan 2022 12:16:43 +0100 Message-Id: <20220123111644.25540-12-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Convert the Samsung Exynos SoC USB 3.0 DWC3 Controller bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/usb/exynos-usb.txt | 49 ------- .../bindings/usb/samsung,exynos-dwc3.yaml | 129 ++++++++++++++++++ 2 files changed, 129 insertions(+), 49 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt index f7ae79825d7d..61c03c0ef19f 100644 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt @@ -64,52 +64,3 @@ Example: phys = <&usb2phy 1>; phy-names = "host"; }; - -DWC3 -Required properties: - - compatible: should be one of the following - - "samsung,exynos5250-dwusb3": for USB 3.0 DWC3 controller on - Exynos5250/5420. - "samsung,exynos5433-dwusb3": for USB 3.0 DWC3 controller on - Exynos5433. - "samsung,exynos7-dwusb3": for USB 3.0 DWC3 controller on Exynos7. - - #address-cells, #size-cells : should be '1' if the device has sub-nodes - with 'reg' property. - - ranges: allows valid 1:1 translation between child's address space and - parent's address space - - clocks: Clock IDs array as required by the controller. - - clock-names: Names of clocks corresponding to IDs in the clock property. - Following clock names shall be provided for different - compatibles: - - samsung,exynos5250-dwusb3: "usbdrd30", - - samsung,exynos5433-dwusb3: "aclk", "susp_clk", "pipe_pclk", - "phyclk", - - samsung,exynos7-dwusb3: "usbdrd30", "usbdrd30_susp_clk", - "usbdrd30_axius_clk" - - vdd10-supply: 1.0V powr supply - - vdd33-supply: 3.0V/3.3V power supply - -Sub-nodes: -The dwc3 core should be added as subnode to Exynos dwc3 glue. -- dwc3 : - The binding details of dwc3 can be found in: - Documentation/devicetree/bindings/usb/snps,dwc3.yaml - -Example: - usb@12000000 { - compatible = "samsung,exynos5250-dwusb3"; - clocks = <&clock 286>; - clock-names = "usbdrd30"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - vdd10-supply = <&ldo11_reg>; - vdd33-supply = <&ldo9_reg>; - - dwc3 { - compatible = "synopsys,dwc3"; - reg = <0x12000000 0x10000>; - interrupts = <0 72 0>; - usb-phy = <&usb2_phy &usb3_phy>; - }; - }; diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml new file mode 100644 index 000000000000..22b91a27d776 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml @@ -0,0 +1,129 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/samsung,exynos-dwc3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC USB 3.0 DWC3 Controller + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,exynos5250-dwusb3 + - samsung,exynos5433-dwusb3 + - samsung,exynos7-dwusb3 + + '#address-cells': + const: 1 + + clocks: + minItems: 1 + maxItems: 4 + + clock-names: + minItems: 1 + maxItems: 4 + + ranges: true + + '#size-cells': + const: 1 + + vdd10-supply: + description: 1.0V power supply + + vdd33-supply: + description: 3.0V/3.3V power supply + +patternProperties: + "^usb@[0-9a-f]+$": + $ref: snps,dwc3.yaml# + description: Required child node + +required: + - compatible + - '#address-cells' + - clocks + - clock-names + - ranges + - '#size-cells' + - vdd10-supply + - vdd33-supply + +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos5250-dwusb3 + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + items: + - const: usbdrd30 + + - if: + properties: + compatible: + contains: + const: samsung,exynos54333-dwusb3 + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: aclk + - const: susp_clk + - const: pipe_pclk + - const: phyclk + + - if: + properties: + compatible: + contains: + const: samsung,exynos7-dwusb3 + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + items: + - const: usbdrd30 + - const: usbdrd30_susp_clk + - const: usbdrd30_axius_clk + +additionalProperties: false + +examples: + - | + #include + #include + + usb { + compatible = "samsung,exynos5250-dwusb3"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + clocks = <&clock CLK_USBD300>; + clock-names = "usbdrd30"; + vdd33-supply = <&ldo9_reg>; + vdd10-supply = <&ldo11_reg>; + + usb@12000000 { + compatible = "snps,dwc3"; + reg = <0x12000000 0x10000>; + interrupts = ; + phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; + phy-names = "usb2-phy", "usb3-phy"; + snps,dis_u3_susphy_quirk; + }; + }; From patchwork Sun Jan 23 11:16:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12720942 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69ACBC4332F for ; Sun, 23 Jan 2022 11:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231483AbiAWLSh (ORCPT ); Sun, 23 Jan 2022 06:18:37 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38514 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236320AbiAWLRF (ORCPT ); Sun, 23 Jan 2022 06:17:05 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id C57D14004C for ; Sun, 23 Jan 2022 11:17:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936623; bh=EY00fcF86JGlObERH8+w8SsbFYrjNSJWFyQtAnjjq5Y=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sCuuJpBjE/X0hCCq/tEYYgSvW2fyJxH2FUiU1r78pba7Ws6jGafk+hTMWG5kWOcDb H7uPx7ISUcUe6yf9T6eoe/DTMjcoYc4iN+wcNJqLWFvs810IyTFysht72GPAFuWE7y AaDh0IDAut/9gB1x0itsxHqOdjwDFumhNz0csMlp+8+lqg1fNSEt9v5kcoJ3an4nzr 5O2gPrlbcDIftSFHPPZLvMZFhmZFXRK3uD8y4lDoheedDFl5ArHzW8Xn/Npdk8v23B TuYC+RjB6VuHQWUUw7YIlbBetGsZoypJQIpiXa0BURh3ZevL33VIq/CbKbPlXkLN+5 y4oSKhkSE0Q7g== Received: by mail-wm1-f71.google.com with SMTP id a3-20020a05600c348300b0034a0dfc86aaso12952076wmq.6 for ; Sun, 23 Jan 2022 03:17:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EY00fcF86JGlObERH8+w8SsbFYrjNSJWFyQtAnjjq5Y=; b=qo5JtZj1uTPBMXMVDQ0BfWEMYcaSzMc/NlHIAbJb0+EPUs17xmkhpsc8ysFOEjkao7 znOY51aHcNa+/iWjEMWkeuKJ6AJP9dv+lRIj7Xy2eru6Ejrr3gCn/v1YutYAv+TngfLs 7RHZ7HpFDNS1+4zkTbUlJXWYslKmeK9+x5u9Rgd4OC+t5b6e/lkQopnm+Qehl+PGE9/D 3k9zCbiT2hX1I3eMJ+ii/OguPhTOyNHT60ta5t4F35M5+N9GXpwYeh/8OCd1jAbhiwFn SrnDZoDeGEH9dZXhYB5qtAYZtvZAWRhzpxat8FlGxEROqtIwA0q34ChN3/besbE5FF4m ALbA== X-Gm-Message-State: AOAM532gq6v8M9aVJ5rbMEQHd5t4e6YUL8CpblzTNJbcyvASaOwA29r/ FA6/0pJK67/wPXwu4p4xQ28QBicg2T8NEraOkQvp/9hdAAtb/VCd0jPK1XUCYnO2RlLjg50osOC G/EbQuwuHdlShMnFA8j/Qi+cXJ6N8fXuCcYQEzUmQh27NzPhs X-Received: by 2002:adf:dc45:: with SMTP id m5mr10547738wrj.625.1642936623138; Sun, 23 Jan 2022 03:17:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsNM9NKLJfTsfQHi+oMgkh4hMNIzd9M7x4JIkzco0CcGHx4tgy+8mjHdxyr76nrcHJ2ddg/A== X-Received: by 2002:adf:dc45:: with SMTP id m5mr10547721wrj.625.1642936622954; Sun, 23 Jan 2022 03:17:02 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:17:02 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/12] dt-bindings: usb: samsung,exynos-usb2: convert to dtschema Date: Sun, 23 Jan 2022 12:16:44 +0100 Message-Id: <20220123111644.25540-13-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Convert the Samsung Exynos SoC USB 2.0 EHCI and OHCI Controller bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/usb/exynos-usb.txt | 66 ---------- .../bindings/usb/samsung,exynos-usb2.yaml | 117 ++++++++++++++++++ 2 files changed, 117 insertions(+), 66 deletions(-) delete mode 100644 Documentation/devicetree/bindings/usb/exynos-usb.txt create mode 100644 Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt deleted file mode 100644 index 61c03c0ef19f..000000000000 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ /dev/null @@ -1,66 +0,0 @@ -Samsung Exynos SoC USB controller - -The USB devices interface with USB controllers on Exynos SOCs. -The device node has following properties. - -EHCI -Required properties: - - compatible: should be "samsung,exynos4210-ehci" for USB 2.0 - EHCI controller in host mode. - - reg: physical base address of the controller and length of memory mapped - region. - - interrupts: interrupt number to the cpu. - - clocks: from common clock binding: handle to usb clock. - - clock-names: from common clock binding: Shall be "usbhost". - - phys: from the *Generic PHY* bindings; array specifying phy(s) used - by the root port. - - phy-names: from the *Generic PHY* bindings; array of the names for - each phy for the root ports, must be a subset of the following: - "host", "hsic0", "hsic1". - -Optional properties: - - samsung,vbus-gpio: if present, specifies the GPIO that - needs to be pulled up for the bus to be powered. - -Example: - - usb@12110000 { - compatible = "samsung,exynos4210-ehci"; - reg = <0x12110000 0x100>; - interrupts = <0 71 0>; - samsung,vbus-gpio = <&gpx2 6 1 3 3>; - - clocks = <&clock 285>; - clock-names = "usbhost"; - - phys = <&usb2phy 1>; - phy-names = "host"; - }; - -OHCI -Required properties: - - compatible: should be "samsung,exynos4210-ohci" for USB 2.0 - OHCI companion controller in host mode. - - reg: physical base address of the controller and length of memory mapped - region. - - interrupts: interrupt number to the cpu. - - clocks: from common clock binding: handle to usb clock. - - clock-names: from common clock binding: Shall be "usbhost". - - phys: from the *Generic PHY* bindings; array specifying phy(s) used - by the root port. - - phy-names: from the *Generic PHY* bindings; array of the names for - each phy for the root ports, must be a subset of the following: - "host", "hsic0", "hsic1". - -Example: - usb@12120000 { - compatible = "samsung,exynos4210-ohci"; - reg = <0x12120000 0x100>; - interrupts = <0 71 0>; - - clocks = <&clock 285>; - clock-names = "usbhost"; - - phys = <&usb2phy 1>; - phy-names = "host"; - }; diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml new file mode 100644 index 000000000000..fbf07d6e707a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml @@ -0,0 +1,117 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/samsung,exynos-usb2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC USB 2.0 EHCI/OHCI Controller + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,exynos4210-ehci + - samsung,exynos4210-ohci + + '#address-cells': + const: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: usbhost + + interrupts: + maxItems: 1 + + phys: + minItems: 1 + maxItems: 3 + + phy-names: + items: + enum: [host, hsic0, hsic1] + minItems: 1 + maxItems: 3 + + reg: + maxItems: 1 + + samsung,vbus-gpio: + description: + Only for controller in EHCI mode, if present, specifies the GPIO that + needs to be pulled up for the bus to be powered. + + '#size-cells': + const: 0 + +patternProperties: + "^.*@[0-9a-f]{1,2}$": + description: The hard wired USB devices + type: object + $ref: /usb/usb-device.yaml + +required: + - compatible + - clocks + - clock-names + - interrupts + - phys + - phy-names + +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos4210-ohci + then: + properties: + samsung,vbus-gpio: false + +additionalProperties: false + +examples: + - | + #include + #include + + usb@12110000 { + compatible = "samsung,exynos4210-ehci"; + reg = <0x12110000 0x100>; + interrupts = ; + clocks = <&clock CLK_USBH20>; + clock-names = "usbhost"; + phys = <&usb2_phy 0>; + phy-names = "host"; + + #address-cells = <1>; + #size-cells = <0>; + + hub@1 { + compatible = "usb0424,9514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + usbether@1 { + compatible = "usb0424,ec00"; + reg = <1>; + local-mac-address = [00 00 00 00 00 00]; + }; + }; + }; + + usb@12120000 { + compatible = "samsung,exynos4210-ohci"; + reg = <0x12120000 0x100>; + interrupts = ; + clocks = <&clock CLK_USBH20>; + clock-names = "usbhost"; + phys = <&usb2_phy 0>; + phy-names = "host"; + };