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: 12720907 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 A4FF8C4332F for ; Sun, 23 Jan 2022 11:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236253AbiAWLQ6 (ORCPT ); Sun, 23 Jan 2022 06:16:58 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38368 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236162AbiAWLQv (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 645B13F4B6 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 w5-20020a1cf605000000b0034b8cb1f55eso12953507wmc.0 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=KG0Rz3UVzTbbsAnn7tWjFYaqJRTnNxv9L8NCsD/fQPekQtJUzvYVp/Af95NVww9usq HrVuXSRCtEj/rBfWv1aahU5ZbFUq38RYzckJ+ofQ/cZBZs7FeK2JOI1euh9ei66Y6FuO BXVTNR4RH/CwzQzIWBaFatEIdNv+Y9tmU9YNH++hvcgHK1MNZ7yox93Ga3VHx2+kU+vb AD+jW75lJUsoPwqisalNidcme6nXyu8NaCOFxYIfGvxbjUBk1QcuE/ICSChm0Dv9vk5T SW99xRfd8ltXWhbbGCy2WEu8HGUhP+88j3XeglWCo5QCHyO/55bFGuM4pCGvbjS2QMqC JUsA== X-Gm-Message-State: AOAM533nvx8k3wc11L534+f+DOyoYcyDkVo0h5XddBt+izkYgR7LPDRJ 5nuWGvsN3S0D4nvdAhcAxXrZ1EmfDMLtzGo6IYfvOEO3kATT0IaRcEj5Mem/0Am0CIltzRsbFHc wxv18DsdrApK4JBKMczCRZVGiGUbnbNNeuKjTmw== X-Received: by 2002:adf:f686:: with SMTP id v6mr9080078wrp.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-usb@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: 12720908 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 B917BC4332F for ; Sun, 23 Jan 2022 11:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236267AbiAWLRK (ORCPT ); Sun, 23 Jan 2022 06:17:10 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56000 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236232AbiAWLQz (ORCPT ); Sun, 23 Jan 2022 06:16:55 -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-1.canonical.com (Postfix) with ESMTPS id 14D0E3F1D0 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-f71.google.com with SMTP id c16-20020a1c9a10000000b0034dd409329eso7864886wme.3 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=7aX/8mynG428pB2IQ9vSsxXAjpNIWo6sv7+5gXWoiVJHhQMjPL+SCmNjY7uMdIPzB6 P0ZT2QqMDJoS2R5S6EnAWH9dp8hQlm4H8yTiHcrnkjgUYUz3Zg9++yPS58SelW0MC65X +yoKbgj5BWfuRJKNzjqBqvDHim9mhXx94lbfiJYt3oUtUVTvv7uYJ7PLe2IejIIF4mfp tMGYXPZY8XGeG99SpCXVxu6QR5R8nRzmWEmQIo/j8lB2AbFJBeD33h64S1/e88ApovET TL7lNNF3+kAH8rWGV7OmOSwkJimHM7HA7baO+82mHVKgXhAGITPgWBMX/ZTUHtRGSHqP 9apA== X-Gm-Message-State: AOAM531Ry7WX0hSiFe0GSD3pZIXM4wEu8w86Wk3uzXE1eYGwlUQqzOsP KKF86jBgLDESZsqTzCkucg3DF/8U7a2H1yOpvsAp4JqLGx0h+4uC6XMY8shL8mtsG7NM5evPbLV kz2OiHDSpEUy35HmSDsccVbAR14L/6CRef7ieJA== X-Received: by 2002:adf:cd0d:: with SMTP id w13mr10537110wrm.522.1642936610793; 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-usb@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: 12720910 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 29495C4321E for ; Sun, 23 Jan 2022 11:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236251AbiAWLRO (ORCPT ); Sun, 23 Jan 2022 06:17:14 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56024 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236243AbiAWLQ5 (ORCPT ); Sun, 23 Jan 2022 06:16:57 -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-1.canonical.com (Postfix) with ESMTPS id D313E3F1D8 for ; Sun, 23 Jan 2022 11:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936615; bh=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mz9a/NY9CVID5y9aJrsGA511VpWjcdNvXy1PEw9IRup6SXMuQpKSlv4qdyAl4SkiL T0Ucqooz8hK+x7h8OyLwBy7J1Bg6HM8cNAZH8COlaREgn9RykB4oOwjsQ31NPEqAbp JyikkxL/BKIdor/wPpz5WBJ5Tdk8o2RQDP1n73vQsKJTyPWoiw25OzCPfd0q/U8GJP Zm4fM6Pec4PdnTThrYHRbAsmWNwWisfHEEGn1accj6T7R2f1yLAxdJx0QdnZUq29nN ksty8q4KU85vCNhSJQ5RaIl3eUwO8RgjZ4sWxD4QDC09B0FMR7gPXsakETzEzdqtnE 4Vmr0pCvaSxZw== Received: by mail-wm1-f71.google.com with SMTP id z2-20020a05600c220200b0034d2eb95f27so9002129wml.1 for ; Sun, 23 Jan 2022 03:16:55 -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=gnqxWffKGMAxvZ5xlzDqwBZqDK4FaJHQ0Y/C9OKj0qAx/kyKNbWgYfaGrnd98qpU0V iA3vjzElvjZz3I8JULZUrkjUl54onSSHQSWP0c6Ljl1ykWuVrpJgWBC//iFAWqWE+7V3 7cwu9jlVD7HMwfsDU84+XlcoLqIGoEXgDwP7hVEFkX4z1O1F58/aKXa6fRDyq+yAvjhs VvqJymEYYoQ7plmC/wjTg313llJprurJkUoDmpMUbYusqe9oaX7YXlY+L3TtKw1Mvgzm DAgQlpStb8BPOcjeonGYPaCzu9SaQpbXD2IW7gcc772y+sTt7Pgq0ODpTegoHYCZU6pm wcQg== X-Gm-Message-State: AOAM532BQjE6Omm7CywTK3cZqKlno0m+XTEXdiOKQMvWQYNTR46tSHuP lEWUj47TJe/DTnpr2vhM/Y8jI1/6F5x3acv8n9S5uOQ+Xl8OpMG4Avg7dFo+NAtkOqyAnm852To xNQd2oPpytdQICOFfIi4fHvrwxiE1F42LeJtgQA== X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650483wmj.68.1642936611893; 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-usb@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: 12720917 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 5E7DCC433FE for ; Sun, 23 Jan 2022 11:17:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236346AbiAWLRM (ORCPT ); Sun, 23 Jan 2022 06:17:12 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38438 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236237AbiAWLQz (ORCPT ); Sun, 23 Jan 2022 06:16:55 -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 B5C653F4B6 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=grI5UfAEDAIP80sPof/wJdxtniWt65JOOqzZgKpwDAo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k8VVSXaVZzRHeU++RqQpP6MK+7ZJI972mw5gwv17+HFEKanQU/Sssb9zSL0Ljg6Go K1VGwKNSwK+tjtZqAmzzsyMDJ+siSPHofEumkTDvThrR9FmUy3/hS9NFJwm83fYDT6 ai0JQDmjP/sgSiCdOBjOPXjLirrB1+iOJlXjibI7mwmsbzEOCOu8K405tqZIG4h7la /9+AnbygOYJLIEkjsUcQM48lj17wUti6D5NCV8LTkwIbBchWOq5L2Ad0wT/aRaPbK8 SSneFHH6z2l13IwE2qq9puri9D7FFrbwSrPRa9en05zE5TNgkLMd42nvmBmv8hXDET bHPBKSWMAn8Iw== Received: by mail-wm1-f71.google.com with SMTP id 7-20020a1c1907000000b003471d9bbe8dso6137576wmz.0 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=grI5UfAEDAIP80sPof/wJdxtniWt65JOOqzZgKpwDAo=; b=oEaE0Vw51vfmNMuF9kkpd2khnsY+waVoilzyCAdb3Vd44mZhN40fhUo8zOLXKFJp8r piDszEx1dnvarCrDQRiVhisOWILntpvfuumHz9ak6zDa2spd8NPV/TwKdPX0ikjenmdH w/uZSv+upST7nySrgka1TRjcJ1VgEO82gRvgFYmSi+swhSAfQUEpErK4Ju8dBuqGtBB4 lbxr0pw9WXFrvx5B717DTscGcAW80cfo1SKbADJUAfzowXiLN4jgfQr5V6psJJvTGk94 U6pifogEB//mYvkykBxfGrBeblCc9pWQkCP4YSMgCEryZhbP/3NWTUP3xYDik/wKN54t U0bQ== X-Gm-Message-State: AOAM532pAijPS5MJWtpbUOXizs9lDampah1Qz9qpmhAKIj8/uHicJmz3 uWekdNFWrPOnTwgNn0XxlJJtI38rAAr9G/uxoAvYhmtx9LdoHqMNIochnWe7Rpvvy+HsgVFL9SS LMEcBC9dgR09Hg7l1+dbcr4n4162R+DNw+tKcOA== X-Received: by 2002:a5d:5887:: with SMTP id n7mr3788127wrf.95.1642936613068; 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-usb@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: 12720909 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 180EAC43217 for ; Sun, 23 Jan 2022 11:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236383AbiAWLRP (ORCPT ); Sun, 23 Jan 2022 06:17:15 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56048 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236242AbiAWLQ6 (ORCPT ); Sun, 23 Jan 2022 06:16:58 -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 5EC883F1C4 for ; Sun, 23 Jan 2022 11:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936616; bh=mZrAftbEtCYMgTENBFFGXCuFnaLbp5VnVYmLha/DMRk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q7Wf+b82yeRbxpLxTEj7U9g6qKmjrY6Q/kSdOKdTtkmZtij4HztQ33mX+ltyPMCSV MCu9ce/9f1GvgzHaFeHvdWZbcYSY9W5zbIpoCe1UDMYgtBrr2dlLHPPteExpvPfRTD ugy/QFSTrth2lSDsjvI8N+ZlFd0mHOuxDkBNnnX6DSFjHlpf83JEpl6ZojkyIGZ3vx lBhvBzmMaUI5YA+M9QII6eLi3CuJ8E7TtGJ4Hx5elTUD+pe7Zn4VONCZ3vAEhu6Tfn o2QwAu1Wta1Vr9x92WC8d64nlLK7TMeLTDD8Ho4pBJRJgfv1T5hyYEg5jXhqTNnZt6 f0hB9vuESDD2A== Received: by mail-wm1-f69.google.com with SMTP id v185-20020a1cacc2000000b0034906580813so12949629wme.1 for ; Sun, 23 Jan 2022 03:16:56 -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=rIr0UDvmDtaBQv6KC7COJOQj4pKm1uMJkoyU1Mw0sWVhb6exeAODlz5iKYt08aatZs UWtSlEgmf2e9p902T6wBtCIooXovaRgvuzL7fdoDkPr0vVFi8a7+WOLQUTv9hNuCv6Fx DRKWANLGL+Rq6FdcFMQUgcKpSaGWU9JjPhn19UUR6GLv++q+t1q3FABKyftHtaAtiwxQ ZYjwU6cJcY9vkHb3focdddBPfNpCaHLGqI5EIDwsKMzUFE/a6CzdCHf4Qcgik+IbpCX6 i3b6iM7IcQk5LTkGjBFc2B/xbHFD1KSWipmzfXgfguWbehjmox0HKi8kSvn7NrYDSJ// Lhuw== X-Gm-Message-State: AOAM531QjDsMfB3fXh5hlWd6ZpEkD/7aUVQVN37vJi/1sxS+kv9lxpwv LBPSKMI2FellzaSvfJmIvPGC/2TpOVcYjea6apxSmC/JrDwpjnpnapshr7D2flk/9hzw5l+DS4R TUHrFQwpnZiTNwU08EQYtUcEAsKeDbpoQueX3jg== X-Received: by 2002:a5d:64a5:: with SMTP id m5mr2349927wrp.596.1642936614110; 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-usb@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: 12720916 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 C3EF1C433EF for ; Sun, 23 Jan 2022 11:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236364AbiAWLRN (ORCPT ); Sun, 23 Jan 2022 06:17:13 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38450 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236240AbiAWLQ4 (ORCPT ); Sun, 23 Jan 2022 06:16:56 -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 9B2893F1B7 for ; Sun, 23 Jan 2022 11:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936615; bh=7G+hY+R5nLZKUZJkJX/xGI67gHlSdcGiauOov4lnBec=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GpGZDwiYDuvPk/Yz5SkfpTn2SNGLe+eB3eBz4Duwm1oJ/mrBHrMyNLH5o4aa+CBiq 9SV5Owyw9hQI/Z1X5ZwPOTz/xaGcEzWG95R6dXNQ7mUjYDOWhF/E4E78eFaelhi9v+ ug8y9Fb4htf2Zj6R1eBZZWT/8LqhGvGX93lpN4ZKY8TTsdgHXvppZjVxXonEcyoeHM F3qrcaZGFVzJk2RGP0lOaqoeM8ePrZCv7mLCBSLynqa4Ip5HPuNNPxgIQO45FvJMez AjxANekeLtKAc6FZ9vnePGKTY3QbZ8UXNzXCTcquFqM0mgdt364DRhGO3316L4s0h/ CJxjvaAKUt1zw== Received: by mail-wm1-f70.google.com with SMTP id j18-20020a05600c1c1200b0034aeea95dacso12913828wms.8 for ; Sun, 23 Jan 2022 03:16:55 -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=aRc0N1L5tfhOrl38vv3trtAb+35jCTNcw3+DbLsZpBeSoIqqHGQWfnNoby1pnzJxii kmvqDR2ysxHbTIfN46iBsSaVEYJYszCljv/dTkPhC61rQQr56nAKLQ7eJmncAb58gq4n sGenZ46iemm2CXuMfP4bLiZ/Xkdog7Wt8L/kbJ7WATvZdE7/5HYrCMF8z0nXE0w+CDyk 3SXNg8+EkqHtIlqtji2/lqfvODZXOX9uHkXD0RWJ3XPlfSwq2TdBfExTGnHTSzCICOpI YTb/u9LnUv3cTZz16NJTFn+VcfYziIUr9SCD4ZoQhAlEcA2o4qF7nCxg2tvHn8Ql8FyP Hbag== X-Gm-Message-State: AOAM532wJ2AXgxRStWdggtKQ03rlqlIVM0MMUwbDy7POCYluWclwPrae iJ+7lKh1d9mwGjFcKXdFVMgJkLPgKxiwm2/tDjZwufsXHFdkFox4e8sSEUDQ2JpPbCqOsTQjCZs 2dwrRqm/DY+JIUq5g05WiSsq5q+C+Ug7W6PIajw== X-Received: by 2002:a05:600c:3b8e:: with SMTP id n14mr7635821wms.136.1642936615423; 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-usb@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: 12720912 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 19A3BC4167D for ; Sun, 23 Jan 2022 11:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236406AbiAWLRQ (ORCPT ); Sun, 23 Jan 2022 06:17:16 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56074 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236269AbiAWLRA (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 00F573FE02 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=oFyg+gwb7XtvC7QbtaeH/MyDAvhazxDlD6i95VQK5XA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WQNiU+DAyreiTzcHMrni6F+2Q6ISn5DOVbiNunCP1JgabOktHCYyZO3naNsPjbHA/ w7hssdEFNXIgLteduREO6Sx8XPihtXJLi4kSIoq48tFK+54SR8eVynNDzARKSV9apG VKFhbTHapc6CLF0fq/026/AaqZA0nH1p5xxnQBcODBekc2vo6ExWUuDUr3jmbM21Iw N3PvZeVnnxTzfhkpudIje8AnL/bEbah7p7vRY0BRTcsYXuV890QVaQW2LFnF9ynMja 0dBUIM/A1jIlPooxngHi+f+LVdCS5ymcj6ilJrBBc+Oau+ZhKIxRHpkfPHWRjCyLBs 8voAvTJqrdvhg== Received: by mail-wm1-f70.google.com with SMTP id a3-20020a05600c348300b0034a0dfc86aaso12951917wmq.6 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=kW4dmLDRHT4dtuYDCmChbqf7hjaUOqjbTD4/RgXVuNDRlwnupcEhIo0mvaoqrLKUpT 2vlSLKU5s3XnlhBDpwg2Ds/ubbodjIzDSvmDpAPg7CjyUOflixtpJv0oJM05n1gX4z8u 0oj2hq2Ks99o6B1eviwI5FupJB34Fjzt8s80nuLUVYKYPaW+iDv+yUFyO8PmwKxlQXgb korvvaLs8T4jcqQpi4R49nLApOONy6IWiPT4o281MP6Iq2gc/Bf2ajLMwABU0X/yIPyF J/TZqV3rHCS/sGxyK7Dfp0usfpS+PeeZF8t936XYem5eBXyF+teBjBY+qPKoV0YnFZdP 5WaQ== X-Gm-Message-State: AOAM532XPF95oI0f1XkKzrQfn45zppPQW4+GOMpWtOtxgcYOTufWHHa7 9kisePR990+x+huhPTO5VO7k7AR0nflO9IXtrlM2WikYcBPLVxshskqIfyyb9H1fe4QqQDq+8+o A/ccsG4JB/FPLCu5S+OScTX5i44P8OvYXNeSaPw== X-Received: by 2002:a7b:cb05:: with SMTP id u5mr7582897wmj.59.1642936616522; 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-usb@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: 12720913 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 B94C2C41535 for ; Sun, 23 Jan 2022 11:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236239AbiAWLRS (ORCPT ); Sun, 23 Jan 2022 06:17:18 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56050 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236276AbiAWLRA (ORCPT ); Sun, 23 Jan 2022 06:17:00 -0500 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.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-1.canonical.com (Postfix) with ESMTPS id 76AFF3FFDE 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-wr1-f71.google.com with SMTP id p17-20020adfa211000000b001da28d1d0f2so68608wra.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=y357G77gKMHlTfzCL6+HEz+/UzqdnZT/McDbXpsW3BM=; b=ZVqJuT6CINc9K4du0Ff3iPLCzHSPrM69A0sFhgQbz2p6VgBiSNhpyTtUvrEJFpD/UF Kb+1BBfDyKW2bmOhCY/aF9d39EqyGrYXrfCRJqJ/rdX9ie8VWtI3vuYIo4BXibyJmrg2 lukrbfmdn7KZJRYdW74aGblFPGKuWtxwY1abXHSnJIK7Zk6aTaPorfsqhyDsfllQSYSk DRfCW/Q83nymICxVx7TtNFgleeCechuZ1dFjHoaYZXxJvD2LSCELGssIGB12a9MJLR+G mqoLndbN6T1aYQ8XXSJHVV6KLm+6Z07rBdTSlzqNpO3jY1ekC7zhdZj00sv/dz9L0D/8 BFjQ== X-Gm-Message-State: AOAM530xwuROTvSp0D26PvcgZ2B8P6C88ba49hKNTm6WUtMpM/MOWPla xEOmaqoEc0NMuZN5JDiRHsz62RQjvpL3bl/P+Wbjqhnj8XNjmJHB88hSShkZVMqxMCZIwy5YMA8 5zVlk6bXik8IOMJuv4A0rzcRIOYcyUZu0q53FMA== X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245501wrq.552.1642936617999; 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-usb@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: 12720911 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 04243C4167B for ; Sun, 23 Jan 2022 11:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236419AbiAWLRR (ORCPT ); Sun, 23 Jan 2022 06:17:17 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56150 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236305AbiAWLRD (ORCPT ); Sun, 23 Jan 2022 06:17:03 -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 493313FFE9 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=66G1PF8Q0lr5LRIbEYZW0Tv4PnJMOlbJQ4z7W8Ayj8M=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KXT4tz7eF8PKj+bhl/hXQJUTGu00Iqkag+J2XnbqvjV1PyHAXL/IScVjuFCrOTIzj 3ach7cVA+yhMIpcVZ+ZeukEe9iFeJE+MPsnVkm/NAA6qtk4Vvf5NkrBuTHwrWoZPzx aX0UxESzIdM/qiMsr9gLP8/9d7WiF/RSqOovsHXjh5KTKR5OW+pKyuxRup8aPBQAjI FFqrUrtwVqJAeXmfi9obc2RNlYoMIpZ0lQonOHL39jGj4jGSvRmYylplNAYQx350f/ U/LailLxmGhKttsmzDzxcOykvs+ukaQoaoLqefJZm0e4YfnPx5zoUEMqBe7Mpvayfg PWG9ag8erZpsg== Received: by mail-wm1-f72.google.com with SMTP id d140-20020a1c1d92000000b0034edefd55caso2639589wmd.4 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=66G1PF8Q0lr5LRIbEYZW0Tv4PnJMOlbJQ4z7W8Ayj8M=; b=tqwO1m9ilkm8HizzXHOjoPLi+GW66yhxk+LZOg8ITzlX87Q6mEYJA/MqMgY9xKjq5X yZbo8SDW+Ln+MWsUBUi3HQQhHoMP7ho9tKP3JFsLGGR885w8DbCQsKnWUfspXwsUHS1T 53r6jdq5HVnJdKSXx0fwzLi9ONwQGf1+cHPkIHUFdfU+DjIUcHhEraxY/vHAa2wtNUrK 5Gb4PQKntE/rzTPq4M57euXyqLc+tIqZSdhE8dzJJPiqJHEVS392v3zDT6zzgoCqeC3w sw6OKn5hGYuVHsC5SPGSIHGUM8plKSXpVZhhBBsoOd9S2VUemMXbgOOQnQNjcGvuFBs7 xAgg== X-Gm-Message-State: AOAM530Da7pjqkb9418fMbPOsXGKW+1BXTvBNWE9zBlCVYjbBOgpRSKv D/VTTxoV8ZNu2UYoNBeYpbtxOpchfLmMunjx5ldiKlIhWoHyXnVry2wtPdF08haR9ckKcQmYPn1 2jPvxYvRdM1K/HP4uURVO9FCj2A9PmCtZtOO3bA== X-Received: by 2002:a7b:c4da:: with SMTP id g26mr7689625wmk.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-usb@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: 12720940 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 42807C433FE for ; Sun, 23 Jan 2022 11:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231373AbiAWLSh (ORCPT ); Sun, 23 Jan 2022 06:18:37 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38508 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236311AbiAWLRE (ORCPT ); Sun, 23 Jan 2022 06:17:04 -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 E59AA3F17B 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-f70.google.com with SMTP id bg16-20020a05600c3c9000b0034bea12c043so12919315wmb.7 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=VYla6zWazqljd6wP16omIH6O42cJsXIWbGtnisWChX//zAG43c25x2ItQxm5Z2SXUn jw1fIcbUrxGSAavCzINJHG2TW6006RVkZPbwi6CpfT/OUGbgqyNzne5M9g0FQyIL19hj 0phOZ7N0iveFPj8SKNrLX0exrXDsNXOWt3Oquj1V0XDsxI/bfbIkkqzMj+wXpyfiv509 3KKcBEC9mBKnYgZghxbn0hrm2achsAdEy3ltzvImjWiNkKy3C1ZSyy30pPqsJsDarjB7 lQH5jqs6pJtj9AfqOh5J48mesB/FdOTI8yAzatmWTxHwt+wCXfrEVPDpD5QuD2WTZg+c 4LLQ== X-Gm-Message-State: AOAM531rhquN9Fs6LzHKu4wno+9C9WNfJQ+HTVQs5XD2ftvxotw+r7oj Rfdu1VRUXmxZzHBYMHxyCEUmh1Dj0Ms6HBdGzT2Q0dV7tRdWUoZz2SndP2AB0fCra9c6XW223vM yjRa37dnyD2BGytCK1xkb3Czj4p7BAl3HJbZP+A== X-Received: by 2002:a05:600c:4f93:: with SMTP id n19mr7602127wmq.64.1642936620702; 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-usb@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: 12720915 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 39971C433F5 for ; Sun, 23 Jan 2022 11:17:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236127AbiAWLRV (ORCPT ); Sun, 23 Jan 2022 06:17:21 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56076 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236319AbiAWLRH (ORCPT ); Sun, 23 Jan 2022 06:17:07 -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 C6D1D3F1B4 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=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CKi1yqQhqlHbHsTc8ManRE8KH6Zuo7FEh9RrOz7Lv7Ipk0ewjS0Y9/AGT4vzU+aox fdPm7kdYcIPq0tICpp5jt4tbUIp7yfwa6yixoL1eIvtfWNvP/OQxqAahy0+rRfXhPR j7O0yMH6vCoOcL1VPgmSs7SgjpY1/+06FJdyY5NXFT/PJr+NdUcbxyATscm0crb9aQ Ea+8+Op9tO4PhIUBQnF4vns2q5PlLKwsYg0wHR9AWZkoQC8Zs36nrBjn/93rfX2wQP GEx29YTPtuWExRbBWz39YhWCS8EIKBiGBLRT1VBGe5F5kXpTgEakaNbp1Wr9jkuHtx 3xtfUd56Lpk+Q== Received: by mail-wm1-f70.google.com with SMTP id f7-20020a1cc907000000b0034b63f314ccso8984958wmb.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=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; b=KFNRepBbEHmUb536SyJVi6ESyVLz8Nj30n3jBRyLwt61QeegSsscaC3phmMCovOx8T kt1dRND8b/AVczLAXm9b5ag1perzR27FT7+mauzVCycBALWvJd+/H7IT99z8yUw9y/e5 tiThfowHjMaut1TznzbdV2Jt6kuUvNxkoYuwrw9y7TXJO609q+WN2oN6XrG2VM0lSQiR kZM9txtpVZoS159wUAG1lehr/DDMC3uNG8daAOnfBdmVRpFW9FwSKxIEHLQ/HzSem733 bpFBpxIIw741cpiRh7ppLnCfNl4fKNyNWEggqDSfQknGu1QVEp/4n5JbMLfqatd5nR56 PF4A== X-Gm-Message-State: AOAM533ZWFuJdwh93ZtSwYLExGaCK8ts+aQkdNbJeGcDHF5zc5LAdrDv 0fmUmo7GqF+3BtnqLoa0bsZFks60gx/6+vTdjA3xDUqK2RlrRxxGHPJSTr6TgbvAkCfM2x3MjsK DB0j7dgyx50UprvuMcNDRvk1G1uPQ51nhrGYkxg== X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr10440923wry.463.1642936621937; 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-usb@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: 12720914 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 5F5F7C433EF for ; Sun, 23 Jan 2022 11:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236449AbiAWLRT (ORCPT ); Sun, 23 Jan 2022 06:17:19 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38518 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236321AbiAWLRF (ORCPT ); Sun, 23 Jan 2022 06:17:05 -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 B091B3F4B6 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-f70.google.com with SMTP id d140-20020a1c1d92000000b0034edefd55caso2639674wmd.4 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=yjLfYh38VODR1tusrYOF7sOU0EpT1WFye7kxzT9tpwqOm5QcAVSbsstvCIMz+/t7nd B/G/sL9JJseJ3NCSpsF7coY+7JrtHGA+75o8tmuaE6JQzmAbqe1CU1/gI7Vwrm9J2C72 aWm9eJdMXBCpEf0IYO2evU/gOQ61kBtrUHtLsxQQbc2yKG0p80AIaAO/4SZmjy6hsDty Eq0xzzPXJsJ2UPZvLEuAIwC7yAeAM02UghwKzyURRhiaS11gGPUJHFlHOj+sKZtcB80R pd3UM+LpPgq+ah6qUr1Yb57+1dWRHp9+Qls2E1ljEPpFlgx0G3f/rEC5fXPqhO3GWmaw WSdw== X-Gm-Message-State: AOAM530lDEHW/Yt4gYJPdiyBPxll44KfF8IYLGxCoiskcyjYLQsjzIPq ZgDVFjtpoU8beSg75Fj9e8VBm2agsAeGU0c7gRinwbJQCoJCCA2oyp3hauvSTMgN/sdwMfrb1t3 YCmpGZhI4808Cb+j1eFnmUZGA5WR63867Og12Sw== X-Received: by 2002:adf:dc45:: with SMTP id m5mr10547736wrj.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-usb@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"; + };