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: 12720931 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3B2FC433EF for ; Sun, 23 Jan 2022 11:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lZ8mDIen1hYuYlkZ2CBQgB4ty0tNYL9LolMA/TTIOOY=; b=cBJa3ohxBwWwYm J0rtVFUQWHNEpatL7Pv5FfgETqtKrwV14w4HVJLKzqR878neYd6TEgLNRcA7jkkBiHMBxrhQM88xk JD4nFXn15XtZ5RYpd7wvdeeGrPHIit6qKfHo7AsEgZKRwxcZYgKBElxbTmFiN68DTarvNj6p6MEp2 EV2ovZP4kpSU/gaV3Wlf9U0X57S3WAf3DyBmdZKnvRoAgqb4+GPMYoDMfOqaa8Z1Ke2mj7vNkBU0m Hs0PkhdZTVXih+DWvQNS8Esdhiwsf/1wF4CPgDMpF5vxjbPZcuved/nLY0VugS1zR7O2TMJ5/u/1l 60Ksnm3br+MLMn9V5/kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBasS-000eEZ-0z; Sun, 23 Jan 2022 11:17:44 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarh-000dzC-F1 for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:00 +0000 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 EBFCA3F1CF for ; Sun, 23 Jan 2022 11:16:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936609; bh=XKeSGyC9ItmJqAyykgNV42LPM38fJ31nboSTLUTfyvc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Fao8QoAfJkClA7pkwg4uaKxqQg0Q40FXPx5T8Z1/iZ2ja6zuUl9TMSkizZ1axUKL2 et74ZifzmcFIaYYJtpKOJrRZfrPXPTa9/cpUp5xKIzBd3mOAtVK9r0ypCNVXxhqzFQ HfwXymQ5mLeZ/Th4hMl4zTSxJxA5LWybVZpm7NR/r1TQFjxK9BP+VxofY47bstwPol MonU6G6H0QGhNvEbKtEbo/imwHs6OeEovARYZ/pHMcp7qvXcSjgz8HjRQWq5YOOCzX 1HY6vu0YV3pKs6tHRJ1m1QmxTbPrdA+dkcW02v+w2y1Wur309xVD/22PtaRDiQ3PHQ 7tk1saF93mX1w== Received: by mail-wm1-f71.google.com with SMTP id l20-20020a05600c1d1400b0034c29cad547so12982297wms.2 for ; Sun, 23 Jan 2022 03:16:49 -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=oqDQ1Ggx4ISHOUwmX+lv0TxoljdzJL7vNY6pp4952HAJQJNv85n5yQVF1Lov8BbSG3 UrtSqeeBBIOkDpNa+dwqVy4hBckRW8GwSnPCM4JAMgKraBr1j3V9oyfrlrSjSIAKRsT2 t3Vrq8zrKSG9ppupR0cujXxs5y2D0Pw3d2pSBXGevujvfPmQ866TvB2I0YXSNzIClsDx Zk14/fKMIsmxeKtxJeaLdJPrpTEqJ8447oPrsZnAPrdU/JCrQCzOkHXgHnfKNJl25T3Y sS0ENhDfl3P7ApCJ31VPP4GSQotuQtf3H7of/07ONirV9H6Qs+x4qPBB0y30sB91x+G9 bvfQ== X-Gm-Message-State: AOAM532IiwlZVNaF/KL1VLk9miXyyqQS1+WQgJiw7LlvV3wLqqZz+YyY USLYCcJia8eKweGwCcEJlekZ3b3iRnOSuvYsLUKD05Ea1NQOHJBPxADLSW4BDQgnlmM/lLKryvL gkOdDUsZV44ELI6uoyszaGkoY5LJSvioIWAJJJ0QvQ7V/QYQlS1Un X-Received: by 2002:adf:f686:: with SMTP id v6mr9080077wrp.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031657_668004_9F6F9818 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720930 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8EAC7C433EF for ; Sun, 23 Jan 2022 11:18:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SNZtR3hLttWfOuoEzaiwe7OFkA1weoXVBdZecjZ3RMM=; b=PZMNcowStGeSKX /Tym/UFJcvBn8KzQM0Wlfu20Noedze6PlR0xNm2hjDQYcv4BLKhBeqVgeOyASpLPXzFg+Fm6MeJhF KP17bpFw7oKprfYhfK1GtQkiyLIH1XN6RQvrD0o6GJRUMu4oronC+tLJTvcRSuMADaSXrQ7O5X4FO q7rTXSOA1ar8I4n3XiVYRL3/F1LaE7Hr6NO9lqDQI4AvLjPa0efZzJZ/gd/fxE33V/mG3DUBuNfN7 A/J157sUI3iVC5/Oa2Ci6FYtibw+yv9Tgb60w6VguoIfpaKl+I2LJQZF+9DyrYxfHkJAH8+oVv+rZ ow3P6FQcgwvbjala5ulw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarv-000e5r-91; Sun, 23 Jan 2022 11:17:11 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarh-000dzD-Bj for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:16:59 +0000 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 102B540045 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 j18-20020a05600c1c1200b0034aeea95dacso12913711wms.8 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=B89swU2vXTE3xNR1M0bSkEqkUM5t+delc3vopJRAzqOAUA28m4Q26omWnJ2i37Duug GW957QZWPNcPTJ96NcA5PeuhtdB4IbhZlMMkh8iPVKxSQKf/OVdKKNTS9fHXaY6MG2mX wp4cRKAxhsnEDo+wCBGDDPtAhFF7pjjH59fka/kwebAopfKLCGlooCTx+hvhkMe84sI8 WMBmfzKN+QHUjPMuyfDI4vGaIwe5zHQEARDvL3HQgc34YlRanImAPzVEeU8LAlmq2MPp vDw+vDt+IW7msKO08QEPiFHpQUy4ZDTehyqUmZxH10OkuDKFae6qVuMiOzz7iBoDFa9h 4GCg== X-Gm-Message-State: AOAM531pDqe17F2zegfuBI/WmU0HpD51d1hWnqW7nQzrSh+lsNBJxfdZ Ikk82t0oIffad9BedYlzy70DlwUxQWXWyDzykqX3n4b2irHuIT3wwWg3R1I5SwfZ3E4s57kb625 i+hrXIoVLmrNSOvfbbiYIcHcnIpQb60wrnpezeMAWMj8apC487SsO X-Received: by 2002:adf:cd0d:: with SMTP id w13mr10537111wrm.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031657_560211_1F05F256 X-CRM114-Status: GOOD ( 14.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720932 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6D90C433EF for ; Sun, 23 Jan 2022 11:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ordfjfgyf9dRT6JV9+kY6KA7ZgKyCBPdyQEZL/KcGug=; b=wsTO2L2Mg/Hkay H9cFp0ty3+5+kh4u+eonWlFdT5FDpjSJ6CHl/aFXlVgOScup0Fl19SZvN4M4ArY5C3bOVvpOi2gVG JWPgsuNnDL6QqmZ8OmTJ33vJLgMSLp6+iSu33SBqO2wpz4S2LxLMqWgK/69R8fXsgLM1D08RUey7X LH3+MGlmvjG3+mnrF0TKusj4BSmhVHOXwlBVNTtV4YeLTKtW/9FGfy4WliVcgiayMYxOHu9f4fJaH /VI3QS4AhrErmv3/ZJM8sb6FNTG+7VM/d3U1chodwyRIH+bbl52MAhIbVhngMlx0LyxPQ+8IxfNfN CFyxCsqA0JAU1WdwT2PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBash-000eJ0-I2; Sun, 23 Jan 2022 11:18:00 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarj-000dzK-8r for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:00 +0000 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 936DB3F1D1 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=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KSBMCBGGz23tn2hNQ0KO9AXS9lCvhlg40jdj7KMkIJVplUhn/zoTw/zoEeNTwgsDy WmCd8hiZCXJNqnX4HGfqdAxVFq2+/H97pCYueAfLf50n7QfYwAZb/rEYjnmN6iQBPd xVG94E3Wr1JdxqVsGKC+Y9MKc9nCvJQdOiNrPoCN0anpNIWy+8Ns1C9PptvYUXfked ZKeL8k9GVMv4g9aImb86bYnrWT3qsx4fAeN+dzv2543AoklRDIPVxMAOMkD/ubTLfK f+LDvPM0aT80n7cc6QYEznrQMIbGW5LF6SvsnzRiMMLjjMdDERsE5NgBMFUZ/S7N0y ir9Vzqk5S8etQ== Received: by mail-wm1-f70.google.com with SMTP id l20-20020a05600c1d1400b0034c29cad547so12982346wms.2 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=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; b=ceVGkF2l4xzGMoSByoPrVl5Rv11HX/f2NIgwfFM2te+r5btrns71yEb8TEo6f853j2 d3UPRVJ/2N0TBKezCmyKF3ZdV2oBDnzPiYUikSbwGm5TR9HcMaArv+oxYgAPgHiBKLyF za5hYFjNXddoAfsbKUIwVdYyNUT7sMyGQcaBV0DOhxAoW3KYci/a8xYD6N/iPHiNfYPS R31G6GAe7tJHPrEfVwYp3Cq7VfVCO9xJzp3OMDQSO5CevaqbZbvtNPFReedEbcB4lJsO t+EYRnVZMhAbFFG7xGoSzCmYGzrqu//AUeLIcNna8dPoYc+nkKZbimzk3n2oUYEMTaMF GkQw== X-Gm-Message-State: AOAM530IPtZ+/0PtT4qjJqKyA0cSnvoahMIq/ZokDVZwRV+h0qk2RZ21 5FZDk0QsB7cNEzaCejWly51YuViBmur+Phech5N6sIXSvz1PY2p5ATJEZVGHjwfuz5I+R/TojOZ OsaxxJUv2EJlXqAKQmBgx7hZ3pQuWvJF7LqvK/MsZknyYbD6zx1C5 X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650482wmj.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031659_486638_BA60F704 X-CRM114-Status: GOOD ( 13.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D5F9C433F5 for ; Sun, 23 Jan 2022 11:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=or3cwKr6Xoxehq8QxPnlaYw8BLywEIb/iwrnD58AM7E=; b=dySW4lcIxnH0Zi 1dgDZjk6HwDjUsaySWzr+5AVDss1SLrYwSbRGn7KVJSfsbbHnypPrmeCX8foOOl3vS4nwI/2izbV5 4j0nlzLXwBjD33+tOP8NbjqcMjll0G5ezok5UyfYTse5Emn9GLrAtvoG1zlZQkAjOF+NylB1k01AN ly+6UFKvooFkvrSqDH/KIl5nmIQyxY9Jg3wiJvCMyjCXftI/hFSTTS7nJqrOnYz9KItCthwOnC3ZF YQiNxrxIPIpYMdi2FX8Tl3nMJhK1LEQY/yPb6WF+KC22hq16iNu4dcz8KtZuiwBOA6XYbH7h5F+RD zPmvqCfwRCgqfUiHZniQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarl-000e1z-Ki; Sun, 23 Jan 2022 11:17:01 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarh-000dzH-9y for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:16:59 +0000 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 9ED303F1E8 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-f70.google.com with SMTP id 14-20020a05600c024e00b0034a83f7391aso8990173wmj.4 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=19iyKd70ZGSPoSS1qjwDvIyR42Atxz0NO8V7T6E7zjFrrlI1hRRVd5fkbxMP/rvm2l u2mZ61LqKUg7FNA+0GsjrM1lULj4QLXBH7q2ooC2lZykosu9G8LkUdzrZ0XFsFnPLl4Z 0yoUXO0Rx7+I9qAPJFLzhlfpO4Wu3y8MobmzFrTn9H8xZT9YsINA7goAjMLsJHycqxkt 7DEUk5cKJbZTsDwxSLoCqjo8noxEY1w2wXsMcRcB0bxxd3+aeIxjVsaU1gEDrbISEe3D eRaob4gK/gLDX7MUzkWeshKN8w6nvn7MWYMIVTn3Ptq/EqwGreKAgALFIPUpcbqTigCh ecKw== X-Gm-Message-State: AOAM5303KdmRCv5cS8oPUA0ZposQC/jmdeI5RUsm5nifpQC+OwCwbRho SJyo9Dl5vxrwufyY2j04nyvRFspw9uCh5/76MnRVxInE9ssF/gqNuJGyT48KYk4yQAsT2AydL+j HbWFXH/FwnjntMuVb5XOf7CiRaSVjMo0Rdty0fPaWie5ZBfffgYu7 X-Received: by 2002:a5d:5887:: with SMTP id n7mr3788128wrf.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031657_526704_6EDEEAD2 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F412C4332F for ; Sun, 23 Jan 2022 11:18:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pd/erKiix6WUwunNwf/S+3n1NOZmWU+3YisiUwVHx3I=; b=Snc1V2UmCxCG0+ e5fAvulkdQ+b+7W2oBFMuy/pqxkCRaxk4DRPg8o5zo3Fu+zemSqGf/o10a1mhNf5OWJoWTBh7NX4s bSUsXOiHFF6FATv1Bcfjque/GQQavqiVPd9KDUnEs/Cu8pKL7NkqHO+pX2Reom7N7UTmSM70TVY0f 4QgX/RltOjTwJyfqt0pTuvswn6ntbBiQriqm7VDig2Fb+IksLsTFx+gi/hAQqjIRmvZPJFVixFGSC k40snUNY5xP87ADHMXcAhzODVhhOD9Umi1B3Uc5TyWVkvjY51QR1HVZfu0gLUsdfPhxOvsBnNCk8V MVSNgvHu6A/IocXZsu/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBas5-000e8p-Ry; Sun, 23 Jan 2022 11:17:22 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarh-000dzJ-OF for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:00 +0000 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.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 D9D5740051 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-wr1-f72.google.com with SMTP id a11-20020adffb8b000000b001a0b0f4afe9so1116015wrr.13 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=E23Jvn/AE0bRryUVYd9Y3obSUR16iIYBp78aGxPcVoHCPUi44u+M+YBqIFsyt77jD2 R7bWoJ7cIxNj+aOkcQfobPKjKnL90ZPk5nY6z0erDeBPaYUdAvbWSK9QQn38DXfG8hEB z244F52tml/eEzHVqCyeU8dkdCXQYo+R1k6F6I9U3qMzF5cOIGfieUqU9b/z2nqB6R1r wF66Ga8N+elFv6BcgfmXCpdeBap8H6X5LeIyEBQBeAnPHopveb1EVmU177G1Lf/7Qki0 NG6G09ZuUzRrPnV4LLo7L88ioE8ogAalrFnPywDLPGwnHVuM1cIWSEdNaU1NOx4cfQRB y+wQ== X-Gm-Message-State: AOAM533C8J5f4IkJ7cG3rH/8e/h8tISYQ6iqW/l3/qo64PQ4LratguCn SrD7WcJm8lU5izeiDkJD23XG1v4+JyKS37j+CEm9fQMdgJZlDOQfUdIwVrpIQNe5eHcmZVQRTCA mU/H3A6y402K+pEULaj7DNVviesqkJYlri7NyPBWroSk1MZ3hoMqf X-Received: by 2002:a5d:64a5:: with SMTP id m5mr2349924wrp.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031657_942322_07B43435 X-CRM114-Status: GOOD ( 13.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34E00C433EF for ; Sun, 23 Jan 2022 11:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Wk+RnNN7uX8GXGie0Hc3+k2WIIzGgykmiXaCanfMzM0=; b=Z2wCP0ZO2ltC3U jXRbdaHzhxOJLPcOZWqg7dorVbIotd1WPiJIgUgJA5kDmIxIajr2hZv8GpTsdZDJoRanOL0sQe9wh 46Wq6gepjQtS03XoNlkug2ccoiQNLyd+Saou4CpAil5vcYT3pY+oATNvLROnSjy3B9aFYTJe7uSn9 puq672fr7tC051ebw4iJxHLFVSZ/igs7rUM4T4wYnNBjU8TpfAmzqLxp1bY/5G32pM7BRPrads9vC F2m00AyA9qJEoPNMw8ebJxG9HEGbbJaUZiU3bX+alsvsmUdUQaO8n0zGkzZwQbeu1QxS7yyPqIBzF Z4fasLG7HYIFDtZxaLqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBasz-000eQx-SY; Sun, 23 Jan 2022 11:18:18 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarj-000dzL-9g for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:01 +0000 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 D2C364004C 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-f69.google.com with SMTP id l16-20020a1c7910000000b0034e4206ecb7so4868305wme.7 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=zpyTfkh6ZJJo+3XWROhJGduMbc/RnWvM5aQNCZWIS/cnuR18gYnSwe0I3nD9gL6zdw zskmcmpzU0urxac2aPUrO9pieI8yuKLP25qomYr5V016JLW7ObLnB6rIGk7mAQlJDNnh 1T+pNb6Gzkd41N8tlczjXAEQ9OungCYiMW+RLWgwsJzX+TkBCZcY3PU0fKN2jGHqnlMm 3VzNRBFj/YdOgO7sJ0i+vhb/91R/nNHsvL8ZO5FS/3gi0h5pQLL3s2/J7qpgP3bXZ5Rx BzBKgF76RXZXToAFjNci/G//Hl8FNxiCKwFk7vY7Nctz7onCpJ9lBLQHYiqedrPfXSXz kpuw== X-Gm-Message-State: AOAM5336r1H+hzeioPWSvYbzY4W4QJXDLBpjhrmFlunHCX7MSQNG2iTP r/PIHTTCLUSBuzJb7Txgqwnmjuv/jQ4wUlqXf/UegNVGpBuipTKqPzIbdTR3sFeSfyka9na61G1 iAgkIEnf9H+eTL6jyF7Rk74UXV/g0hzxWbR55/r/K+/DZThHAUSU6 X-Received: by 2002:a05:600c:3b8e:: with SMTP id n14mr7635820wms.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031659_491419_9E49F5A6 X-CRM114-Status: GOOD ( 12.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F832C433EF for ; Sun, 23 Jan 2022 11:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BOeF6KaG0GEkccQc1L30Q7wJXjTBlXOLGfGJMkamvFo=; b=jDTYV5uNELzmYl +8W/QzpCnpqdDNwrZtBGSqVxAwnDYNN/LeBQsD5P+g8h4jruWq+occz1PiQtHKz/+kZ43xVcxuql0 uzxdBFvkriiEmYqtaMsez7A8vigNpAeZssDJU7VWVjvzb0bNho5Tk+U/vrphUPVqJmhHpUpdJhBLT 5+MvnzBSH0xb5UCfK/lamFLP63YExqS6kwA7r2R8K38HfETajATdFInRXJogkVYtzGXve326EQQfY WwuYmXCnHht1jUO4vf8GSIr5zNmTTgJLmqmvdkVbyfBjwI3eOgt6ZhuDUktAzPsXivJvQRArreolM 8Z5mQD8tCOMGfr0MNyhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBatL-000eck-0l; Sun, 23 Jan 2022 11:18:39 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBark-000e1n-Vi for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:02 +0000 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 EC1FD3F4BC 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-f72.google.com with SMTP id l20-20020a05600c1d1400b0034c29cad547so12982481wms.2 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=4bwKGtB9MswK6xDNs+rDKmnHt3ZSAr7TlAAbeZnZAJ/G9SNqU9NBHHCCnenomaj++m 6m43xDkQvvQDkkiZRxRhBYlVyEEIdZ2agB681BND/L512OYSnuMa15t0+x6e11WPhjaI wxxbwDVGiVqSfT9YN3ourwd9TQR5OVO17gee5DyIVbXfswUBD0HtoRxtIpKryS+7bWnl oZ5OpgHYPc/EzA/N4pgHK8UQejp+FnveFQRa1lNw3u8KZ9SVwhn3t3kbTJDWF0jP8CBM yDNb7UHPE1t+Cz05pCmhZkrSTomyoKddYW6fpkWedWIJyXxz17igu1EQlsXF8LH6+6Ox Vxpg== X-Gm-Message-State: AOAM530MNIfq3VizEMa5o1pDjC+5tJD03YW9AgxY/6kwts7NNq8soVDw I8D3SnuZpH3S9t19DTD+nebSDaeFbVv9Ha65Achgf0YXUrvPXsqUyH2M4WV7NazL4C169f4QGQV t4a3n8nU/AR8e4qhOrZ17RnGnMSfbLL+edjCT9QJtmzbwmlVKSqdy X-Received: by 2002:a7b:cb05:: with SMTP id u5mr7582898wmj.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031701_189200_535E0E07 X-CRM114-Status: GOOD ( 13.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2049DC433F5 for ; Sun, 23 Jan 2022 11:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9ON76vhY3/A7D25UFi8/jTtV4p8piaDrogHPjLneDuU=; b=Uh4tsmi6SstMYh y+iGf/MnCYWDMcdYSoP2IQuhoEW3upaJV/vKpSiBdtHbA+WceSHVm7KnuY+/aGJcAyojgpcZUldtZ qDEkYk6qB2e1f3kOJGrUdnc8vUns/HS9vbOa4SBa3XNyqHO1qFBw8M5tf38KiHtmT9OM9Qop5FWvv G3mcxoVBOXZOT6O0SYzb8tzWcZVA4CUDMeG/lSnFrfV5kJBL7eX4oa1CMPU6ip/zngmZVwfRyb3Ti pG955L9arEnve7EfBtSM3qbWX+2I5kR3pEuTOFlxk4RmiOCeH6WcnJa/p81gPLlvpeVnVb06yJA71 MoGNjdvHPjpPIHybLzbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBatj-000eqL-83; Sun, 23 Jan 2022 11:19:03 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarl-000e1y-86 for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:02 +0000 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 696A73FFD0 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-f72.google.com with SMTP id 7-20020a1c1907000000b003471d9bbe8dso6137619wmz.0 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=alNiv2M2/d348s1KHnFbVwgua0ICNvIQFkWOy+Vizj5dhbe5cyL/Y3yXw7CbsSeyxI 89Q/HRtCAN8MjUS3utQJO3UDmolvcVBmrZ2UQVyef4ZcWHJPSbkq/qPalEK+pgsxyufY eKWQwt8kuFd+vELWnmuDfDTuaq3pqD26iwRkPUbfHVm7hvE710CQlGgz/smHyPiZiH6X kNxZEOHipMk7FBNZuONRsQF4hM1BMYJ46UnD1BewRbBrtzZ2v2wpLDMxc0kcI4LdQDuP GjNazEPsvX3Fb+jtEmd7W+0t7jAH2WXiqYqZpMtiPXl7V1n0dnG9C2lmAI42l5L0MKwr 693Q== X-Gm-Message-State: AOAM532MpwDVECAJ8I+L7lQVytXxVlUG7m+8osxnnd4tcu/MQk9kiR2j Fl0w5oocJLCEt8fUVJCnF7lFgybbXRrZWmsnqw0ysxWQuEqMfZh5OVossVOrh+OqXt3+f4eSAwf K+oSPMai4LbtabpttlarN3Otk2IradonZ6wHGC89izC7iaYo+8+08 X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245498wrq.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031701_453216_BD2C9FA4 X-CRM114-Status: GOOD ( 13.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720936 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 467B9C433EF for ; Sun, 23 Jan 2022 11:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y03mQnkoiGtkxD0t0EhOgWZ1g+/AZ3eT3PjObeZMNpQ=; b=4kjuqHbBz7Zzr8 adLLZczC30qjbmeIsGanBFRkN+fyX9CjEHS2JbFAbinQRkyibL7ZXUFGEBf8VoM33Hb2VC/6Q9FTA rpmktY/hZsJGlRb1uofg5JeuJWq1Bq253pCgIfYeSHu78rDwuyOPQ/PpE+/fRVjBf/1Jb+RHf1Rh+ 4JfiDD4W1vJyuBhRBEPV68gBTOJZ4pbju6Mr7e/e4xHhYgWdSL7kUesO5jZ/c3yGMig9aIOJptJUy QDxgzznXJUcPIs0ok+dQ7SFVUIuOwdu63YeXRtiqs0qcYga25az4JYrEKyDtOVzURQgx8C/z0zRpb dcYU6/e+LKFAI2CkR/Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBauF-000f8Z-7F; Sun, 23 Jan 2022 11:19:35 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarl-000e2A-Gg for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:02 +0000 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 EA41C3F1D9 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-f71.google.com with SMTP id a189-20020a1c98c6000000b0034e32e18a21so6660188wme.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=66G1PF8Q0lr5LRIbEYZW0Tv4PnJMOlbJQ4z7W8Ayj8M=; b=VUJp2VVBiZEVWJYiKqsUNr+3w0Uo9HIa/qcbP/V9Bh+sJPS3XximXdHbP9A2zAPBEf wxsekac85sVTMrrStfEXaqL9Fk+V+uPnFmzZ81UUAZ82JlULv4rAufMpncCOAWJ4vo5Q /qN7sqACytwvAk5UiFBdCND8l4nkDX7Bgh723tK86VS5EpNz6C0g0nUe/jsJGrL+C7ux 21JytF29J8i06Ths9J4QX6DjjPX2j2wr5sOSiXDfPWh1I+yBbSkBKWTZDJQ9yh/Rl5G9 l3ny3CNUnoc7eAQzREB6/0HVI4qa2n6OKQHekM4frTROB3zx0yUJa1BxVuA9UMZ0WTwb vltw== X-Gm-Message-State: AOAM530Z9/aJdpkC9g1eubXq5apOq6WKUF1bUN8gFQVcjvJhtdmPZZot Y+E11lGO46EVo1YT2caLF7oLKYSCJgZizL8kOHD2ELO0dkv44/kO4MQticxKHozk5nHWHAL1fnR p7QFsSXJclSbtAu9GL0eJK29W003tGK3ywtR7I0u7HHCMSS0JiK7X X-Received: by 2002:a7b:c4da:: with SMTP id g26mr7689630wmk.191.1642936619326; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031701_714594_7AFEB66D X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720937 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A466C433F5 for ; Sun, 23 Jan 2022 11:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TO41F4OLBM64jfYu8JccFRopMWEkKIBVxgkNa8mhcWo=; b=mo5WxQCnVAX4hg f0WEXlQkynv/XQaLevgQ566TE++uEyPtl+NcajX3coJvfzgu1n6d5r9vhqk+EWXyFdX9Rt+3D5lpW fmatanIyzW+7VRmpl8L3p57y0cbcQdhXj2LUyQRbBc+qvo30ovTyQ5hGRYTWh1b9ckhHVUBOJvHra p7kukxyOeZGif3LuHfrlGCVWA3ykHRu9GytnCXxHeN50QmhWOBN+bVzHxE2co9FNdkMRSf88SO/Il WjEHjpNtxhGVM2cl0JqKOrK6Qee6fU55j30wvrTRCt38QFL+Z+5ZdzdQv04/+8LgDisMElGErpkWi Mdn58Tez+qKLUI1wYHfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBaum-000fQc-Ug; Sun, 23 Jan 2022 11:20:09 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarm-000e2u-8c for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:03 +0000 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 05FE63F1CF for ; Sun, 23 Jan 2022 11:17:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936621; bh=dx9J171TH9ajdx0PBtS6Tdib7oh/eqVqsvAw3pSWKnc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sduG3gwZ2xEICj2A/ORCQGYpVJrq4XRouhALKgyjo2azLsVJ8s53w7okmJOkwMkXA KZJqgZpmWYakvWyVy8tjCwCjkxbk71s3/GS/8AUD5oRR7WQOLjZ8b+okQHiwMvcolr KNL5KzFRg0RVV+OvRMtgIBQub8bB+6LWkXZxWx6pWN/AAnPTls+02rZlBLGJWiHpk3 YXnOJ1vwSGDMa23abGGPlxa6rxQWCCfLdjEUjMzpEfthstirPN8Ke08X+z4mux6drE F2DmzLjgaRm0RR5tgsQGsOlZ6w412QlRxe5xaffABbdA3ITokfP8CyyWWvU6xk44JZ 8iiDND63y+sjA== Received: by mail-wm1-f69.google.com with SMTP id s190-20020a1ca9c7000000b00347c6c39d9aso8997362wme.5 for ; Sun, 23 Jan 2022 03:17:01 -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=wq7fOVEn6uN1X0o6v2imqLmMVBYC1DYjti/kEmSyvu7csqtL42oKu4kw/7+IAl69MY VjsQmVzZ4l1iii+Nw2SNTwRyua+pKI8TdWIdLlpd6YdF3E0KGMfzZF/I40fpnqRU88Ni Dm3NvWZ4fQKouSbO3Sj+q1vt4M7cjELqC/u5wDD0HXOgLb0gApfAf4YXySdFc5zxuz7L THOakVoYLmGBXb0qvtGqFXVrP7FrlSeZZL+nCz2AjhMkgN3o7tIB9PL9WmT1V/m1q4sd 1jlF+bscsiFevqJvMIyyCdl9nx04ykwKibNDijC/h8zi14PwHa9PRLWzpCRqhWXq7Pty XpLw== X-Gm-Message-State: AOAM531csMBLZLU5fSKusNyVa122GkEXdfz9mDGYL+T2gMTjoP9oEgSe lbKU+6FboqTPqo9rGstZXGciWdI43hyMEoSFBruLufhL273w2xR6id/9VRMKJeaY+auiyZSZP0k JWibn8WubrpakaiOKhS2BiiQehlzKCeJRipo3Makd0UcaHiVdkaIi X-Received: by 2002:a05:600c:4f93:: with SMTP id n19mr7602123wmq.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031702_460529_5720F63C X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720939 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BADB2C433EF for ; Sun, 23 Jan 2022 11:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mgSPpIJTMKp3gfMEfzGXcOK2AztXHBjlwNJ0QoI+wpQ=; b=u68zYSO05QbjaD Lzlv9w943sSSUtuDAI9HipyXpFJNvLUWVqXfcjIhwy/7ac5DrNAOtCqMoPXltIXTF7rcK8lYW85u4 oQacmucYmd6RBFgdEiro9dpkYZwVDNfY9/s/IvyUv8SNlIFiItouIohDNr3bcioelX5J5mhCdzCcU LNqxyQJvoVzSV1Zh2mA2lh1lQ6saZcQyzy+6S52NSM4u9pEBqLrF8eG2iYIvqwRBjh49iawc51bRm CvQq3A72ZhO+LhWhn8ay6YxTtt+3mNIYg1DDVPuaufOPsBAhTwzam4ULo7aTWF9TKuXUpoPvZsUW3 rWrF+iYkVO0pw/ejcrBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBaw4-000fwX-QW; Sun, 23 Jan 2022 11:21:30 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBars-000e41-0z for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:09 +0000 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 DF4553F1CF 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 o193-20020a1ca5ca000000b0034d78423625so11652145wme.3 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=ApZyG1ByO/x5Jqgw3fRfQYCYthP2Nrhp3Iboh3HzHco5Vo4KLU6mgrv7q3LCV2Rf3x spbMG7Z1p/hCbhr1QBzIdI8VFzXpCTm4MFdHO8d7+jJRK3FnZaFw0scRRCI1m9OorA1p AOksDuK8NhlZQ+QkQKSFyrSIjWmLS2mxaV/0fYgghmEzXl88K1Q2tVGQ2KzIv80+F0Ri XLHaltWIruzgNFjnZoKLwKj4Nspszz1EImqOM6cOvYQfkpArIo7ULbIPr00pNtdIXrXP MxyPG96IrUIfh05beCuYIYYRPtUvKMYi2gZYm2fInr28EInfLam6tQWyTp1Z2alf6zO8 i2Gw== X-Gm-Message-State: AOAM531z5JmEKHRSRUl+Qqiq4MRgv0Hb26ODC64FHj67j4iFX8L/etkP Y44vg/4TJ3cgLYMWpSQcXN20/qPiXpILPNxAnwQWLEEY/O0jEP0kG5eONZwUIyGwDizJZP9pkMP SbUUNkhZF06zM0UueClLTNFmgzD7TQ0svWjyizJN64m0qF6pB4sf5 X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr10440921wry.463.1642936621935; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031708_234692_84B99F81 X-CRM114-Status: GOOD ( 20.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 12720938 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 36526C433EF for ; Sun, 23 Jan 2022 11:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pTLqUD9jNJI1CEfm0T7ufK4f4rsUOZAzPu8H50kyrR4=; b=fgr5Z55wjHzgY5 NksbRiV6PiqnZYPM7Idp0nUam4wQykIT4OGQZY2hAtvfs3iLYfoGHh36t8ZTHEr/dbMtj28qY5qFI +5mKlif3Mdw0Uw2vCclyLbkDhdxoGUgaIy7j2tK0C8XtuwphDd87X1RW8dMCxZb1uGxdE3BZt07Qo YuOv0sUZO1UAXwj1Qn2Wysf2AVN5muelO+5nuh2ni9+4mLQ3XHzZrlhE/cchDhr/vETf1JMlWIkgO qKtca1I79gttJmInavDVsK9VEWjNkL7DSsNRrsuaFOKRl7VijKbIuuRwDG8vWr0l35D/fLWhHnkob Kyk7ifmW2nFTEnnII8MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBavW-000fin-3C; Sun, 23 Jan 2022 11:20:54 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBarp-000e40-1Z for linux-arm-kernel@lists.infradead.org; Sun, 23 Jan 2022 11:17:06 +0000 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 C390F40049 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-f69.google.com with SMTP id w5-20020a1cf605000000b0034b8cb1f55eso12953799wmc.0 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=xb9bbWRdqVEguQKb8WFGD82pXdlgS+NiDIVqGOWvbFqUBjioY3Uqfgo+/V5dxpZB1h +sT8xlmePDxslprN5bx0tF2YqG8n/h0lE9a1ifeKGolBWG8f+Y/Tn2zTSSXXgNpnS4Gg 9pQqcNa+N9oWeNZr/NFulsX592J7hiYHwv738f+wKvodMlTbXhSNqmCCGFg6zIeIo3Fl eq7b363W/O4YhWIo+bQNLwWN3TZTz1TlBAdhOPoKa/rIpQW7IWXHLCEOM9uLICrS09sW x+8H3zlhjOL2kJGVK1bCcjoX/uXbZl+0U075Qyq+tuHCZtvaLs74Q0Di5JkI326jymZe gDpw== X-Gm-Message-State: AOAM530rZZ7CQBkwkVhv48r5mvMWDZL0FxDQ5UsBBeVGxOGrz2DUFAfO +VYiWPtj6mj74gQraNWaBRZZoM7Hn1yNBg6l8jczijrLNvdb2ZAd/mt928FaJu6/99fmavsOURW JJ29oDp13ynF5QbqkjOzv1TZezOFAHMan0MH+gLOJ0dMa0XiIrfXb X-Received: by 2002:adf:dc45:: with SMTP id m5mr10547734wrj.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220123_031705_253173_BF9E669D X-CRM114-Status: GOOD ( 21.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; + };