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: 534714 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 1C44DC4167E for ; Sun, 23 Jan 2022 11:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236260AbiAWLQ7 (ORCPT ); Sun, 23 Jan 2022 06:16:59 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56004 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236234AbiAWLQz (ORCPT ); Sun, 23 Jan 2022 06:16:55 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 088033F1C1 for ; Sun, 23 Jan 2022 11:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936611; bh=XFI4x1c9o5rGbL4nhgosKocwg6qcvl4V6Q0rNOHSnCo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LQWqauY3KDL03QMvpqAus/Aqq7gLXSHqz/AOWp7ERLF9ZVUx/fZSy9gFE7Sdktk6t TGs17Ytrl32faJXiLSZjNUgDke8KGwThwGCDTzVbUI0cKz/X0mNRkM7LOXUU8+8pNK x1ujPH9nBBUXR6Yd31piUyQajkKhBktIo/YutrXPM2T+ZsuP53IDnnrr0RG0yOVzjT Z619yPV3q3kEuUX9w7tAuBTk4+luGqMufeNPixRwM54gOszyYwOTKHwBy6oXaww/ZF I33UULuvYxZMOfkxy+G7/Q4kcuHB17ie9SGbLpIh/eEtcHuJnZ618NnExCZ8rxS3vz 4Pquk1RUzxmNg== Received: by mail-wm1-f70.google.com with SMTP id s190-20020a1ca9c7000000b00347c6c39d9aso8997146wme.5 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=s7xe8p5z/je3G0hSEnDB0KtRrnKv8LBrgrRqaWQYYCF1mxdt12uLT4ir07/mE2BFAF LzjIQTMzwqfMaSLPCcFU9CeWMoFF47rRJdCcJm9NUN0PmxtKDHODFzXmXXIAYIy5f5ql aJmHGvXp+SaWvJb/yj7M552Nq3lHYeIQeheMZ6QjYUDRAavaz7Ko2Rs6M05U3OP0Vjm4 2UkEDY07uJWaCf3c2Fq8lzC9aVo5uEiR3esnR1c/HfBgyVYxDP/VcaaamnS/bFZM4/Q+ Dm5xUzPyLOku1346oI9OnFchUOOuX17+WthAGuTMaAInVHZhoEvYnHARQgrC75nWcHJ6 tKlw== X-Gm-Message-State: AOAM531xRc5rxFX5e4VPQZ9FYdR5JRE0/03N/auhvP2QhfO5IWLsuZw0 dsaoisQI+rn2CpQhWtb0qTG6KMVRtXLB3OQmhn2HIthlLC8Pq71Rdee09rAXQUdHwjh3ar0AiKe UDBSgfJr/3vlLG2Hf5B8ZzNQTKGEEzsvb10HC9SY= X-Received: by 2002:adf:cd0d:: with SMTP id w13mr10537112wrm.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: devicetree@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: 534715 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 72E22C433FE for ; Sun, 23 Jan 2022 11:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236208AbiAWLQ5 (ORCPT ); Sun, 23 Jan 2022 06:16:57 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38398 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236222AbiAWLQx (ORCPT ); Sun, 23 Jan 2022 06:16:53 -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 4AA3C3F1E8 for ; Sun, 23 Jan 2022 11:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936612; bh=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q0ESiPfYBcTACElUi/5sTRv+/X29y1inVLbHRBFUoF98mmn5t698WSXNXop0uJyee CwUgiGfhbeMo6P4l+GiSfsF2PXrBq7iBu2hHCcMjq6oHikSAYFUSWLqksxgGxNiPNW hiEjqQQOexBOVTHd3Gdq9bhQjiJlwhyrRmFDqFDzs0fmi9GxB5ta7polPf4shYgThy j2JUq2PQzb8zwOldpNts0+nk0XIgGbXc177NIOjm2bDOp6OCZqa9oO/o9QQGlQeMm/ 1LP+QEEfX0aT+0qIqxbiju7pnLJ8Dzm9xs5x7esPq/e3wQkgDrsp/fFKCAYPa3ZwDl SX47qoWDiXf/A== Received: by mail-wm1-f71.google.com with SMTP id a189-20020a1c98c6000000b0034e32e18a21so6660007wme.9 for ; Sun, 23 Jan 2022 03:16:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QYyBjWAtA9OxXQVLH0xTxaZYjqCQLqUUnu7YMm/h3UM=; b=mm26yDBrODzKrxSaisieCQEHW9uEaMsIKgIbY3TdtViVCktG2TvGu72uAzlM4HxfKE M37AjRjYYteAbl10kYtqP9XcqE4qKePynhOv6Hljfc/u2jgU20PPJWf1mH/2+a7lYu5b OcZceSBmygh/Subnn9nTAmZ9xHo+zTHGedMEQ26XWoJ5K/Y3+mzzFbqiiHNINPfhFN99 y1+3F8YXCVUyItXjb306AJcwvzYCYOYON/nvBPOWzgMej3lnfSlAKmbL8Agn7Uh5lsmo LWQXY+fuk4ppRpc+LVAGyWktGZEDbRSdEb/ELOGzpEOI8CLLxO51GYWR3OcyBJ7IZq7s ifxg== X-Gm-Message-State: AOAM5315CyLk6w5mZE1cf3d+oOMx7DjEHXIdfqo6HHcuLt0tPLs9v2lk 3XNrNYydqZrVF5m2YT6kC5b8Z0nt61+PQEI73BPZ0qobMe5jKJcre0hq1JKPdUNLxZ0/Petnhiq 81gNOeWjs62KLiOHwE+TOhcRUMDskObR5bw15ADo= X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650490wmj.68.1642936611945; Sun, 23 Jan 2022 03:16:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBpH9pPJ+LM0El76Z0koYfHiM9syIgi7ocm+JAQM3ZbsaChUMb8L30RzWfa7hIIqOsAqEd9w== X-Received: by 2002:a7b:cd02:: with SMTP id f2mr7650468wmj.68.1642936611756; Sun, 23 Jan 2022 03:16:51 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:51 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/12] ARM: dts: exynos: add USB DWC3 supplies to SMDK5250 Date: Sun, 23 Jan 2022 12:16:35 +0100 Message-Id: <20220123111644.25540-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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: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: 534713 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 F1C91C4321E for ; Sun, 23 Jan 2022 11:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236332AbiAWLRK (ORCPT ); Sun, 23 Jan 2022 06:17:10 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56070 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236266AbiAWLRA (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 AFC833F4BB for ; Sun, 23 Jan 2022 11:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936617; bh=7G+hY+R5nLZKUZJkJX/xGI67gHlSdcGiauOov4lnBec=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HFVvwbGoFAexwBn3cBkQFJwWcU+8iGg3bXQF8N7poDFY3V9RxTUsK5L3HONT4zzBa K5Bi+6tnZhdRM6JVgf+DKesRsOgOYb5/Od/IJezi2sLSChwp7tS9mcCWGL5JwkTYJJ LSlNixBw2EpURNBkjJkHvVMe/sXD52RpRaQfntEkO1Myt/WWk7CSs491nqFaBhxLpt yAhziqLMSUgC7HPl98JD9AMANf/C8zI2Aa1Te5I6RhMCWkS7Af8lnOfmvgP5xE2yS+ agPv1hSRr8223LacjLqY9F9fLV54bogvfNZRK0voeskt/438IoBCiw8PMfd0+L1zF/ mnzjuIknWC4HQ== Received: by mail-wm1-f70.google.com with SMTP id bg16-20020a05600c3c9000b0034bea12c043so12919193wmb.7 for ; Sun, 23 Jan 2022 03:16:57 -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=F7xRf3rypeJOP8h6a+TX1GQKGSDJPlBf6hl/t205DR+FP5WUJC99EpyzAbRgOQwG+1 tNyn7Xg2dw63VA75WLnp1itkTeMLxCBMa0+lQjSGfxhTXOe1PcOht5NKqz6UZZ466aMy lkFxZEJNX1b0dLgovdTJi8SoDrPuNLeMVgcuVGdlo7UOWGYWbs1Gx9xHAr+oJjKqnna/ 3Ohz7Z8+O4NR0NCvoY//FoTtmmXhRcefgUE8LRZOtwAx5fPKz414dOS6llwTRXk//ZsZ mZb30wZaEh0hzJXWOuJjfeTaJLsOspi586kRsNBIp4Ngi1PxMviKD2mlU24IM6xQFD3r nB7A== X-Gm-Message-State: AOAM5333mtYFlgEvSTCd6nCa2BtciMxvTos+dmvq8I2HTWPTE3Sc2WXw hAVouQ6vL5gRHL/uziFzqC/vIEHClVg3v531B7j4EOUstzmUOkcMo29myR821GhwRg2H2z6ivpH DLIQ7XuCettlR8O0qU6A/CyqbqDQhQgokyRydlQs= X-Received: by 2002:a05:600c:3b8e:: with SMTP id n14mr7635822wms.136.1642936615425; 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: devicetree@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: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: 534710 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 33FF3C4321E for ; Sun, 23 Jan 2022 11:18:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231875AbiAWLSh (ORCPT ); Sun, 23 Jan 2022 06:18:37 -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 S236270AbiAWLRA (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 3E1613F1C4 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-f70.google.com with SMTP id n19-20020a05600c501300b0034d7b01ae4dso5297862wmr.1 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=uCEv68aou2q8wWLPhAiLh45zjElMTEsN7J8e3gufl3fLGNfV+s7aHXEkGPWCBbFIOk GVh+BgY65ehbSnijLYZ6p6C64bJMJMdTpHFy/qXAI1BXfcmRv5DgjXqkj2IK04u2Cz7R I7HYftRvZKtmEAA+eJkQKSgXKfDO/wGqRhKu1bLbmQNxvTdlujam0ENnr0H2OnQOu3bj ttFzk2AOxr7yntizE8TKPMMC8Q148SxKZ+OGhSXb0YxRIqTKbRQYQYaoEll7dcNyH3Ou mkfSr1KK4v87D9SxFOIsY3CKUZTPIru8rk6zk8pGxsJwAXo32f09NMQKbxZnUITfNZPF Hu8g== X-Gm-Message-State: AOAM530J7FeUOdNN6RW0GbdMbuwxxrf1AjRNGKlE1Utj0TBFBC65J1fA CDS0vgVNJMMoCOutsSSHRRLQqp8onlZiQdj4yDW/B2RGElXhEPPtFhgRUhcyEvQCE0svPXC2ppn 2xIUlk+r+lmn8k+lbRVYwUf3/0RXGPBAiN1aJZPE= X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245499wrq.552.1642936617998; Sun, 23 Jan 2022 03:16:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwb59CpOjfY8CfprDukjo6039z0OQ3gfs8X3bsvt8yvFXtOAvk66eFpeVM1qtu1DqKws8uQug== X-Received: by 2002:a5d:4906:: with SMTP id x6mr10245485wrq.552.1642936617866; Sun, 23 Jan 2022 03:16:57 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id m5sm10143729wms.4.2022.01.23.03.16.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jan 2022 03:16:57 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/12] ARM: dts: exynos: add USB DWC3 supplies to Chromebook Peach Pi Date: Sun, 23 Jan 2022 12:16:40 +0100 Message-Id: <20220123111644.25540-9-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> References: <20220123111644.25540-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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: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: 534711 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 EA6BCC4332F for ; Sun, 23 Jan 2022 11:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236366AbiAWLRN (ORCPT ); Sun, 23 Jan 2022 06:17:13 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:38516 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236322AbiAWLRF (ORCPT ); Sun, 23 Jan 2022 06:17:05 -0500 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id CF11E3F32C 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-f72.google.com with SMTP id v185-20020a1cacc2000000b0034906580813so12949781wme.1 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=RmQyfDCkVsmig+JOJptzGbmVF4cTA5Kwq/N6uC1/vfbawTm2fECDJ4e85bAWqglVsN D/omNSCZk3JjFGvCDv70uDoz/SoDNFGi0+s+y40lwex1ZcUlQ1beaOS8vF8KDgUFUX+X 8RtStTGlKBRsjmxnAhe/hg/EIjqtBFArZsbAFET+b5egOWz4xUIONvEDWEA9ct9J0G89 a76IgBX6A4mFq/6DALttcRQUzhFvDeR3LNbVxcU9QC/7nteQFAvMhwhnI4Ytmz2rIhSI MD9tVj8VujSty+ssY6obRrA1wve2WqYoVs4immyulaicXNO1SWQ4+oiH35A1vDAdSoxd x6Vg== X-Gm-Message-State: AOAM533QlneReiYL9cSR/TNlJGfHE11FOYoo2yMhswxLl7M3Sbl2FWfr zK1cr6eOPv+pvjhHyLW1SD6qRz925jhVb201yLCUzNryrcERPBu9hF0LzsRlWUpZyBcm1NJ3cof V9Atc1PDvCwaMz5WxnqTQG+VP/kO7o7btX4pQ9TI= X-Received: by 2002:a05:600c:4f93:: with SMTP id n19mr7602130wmq.64.1642936620704; 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: devicetree@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: 534712 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 AA3E3C433EF for ; Sun, 23 Jan 2022 11:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236330AbiAWLRM (ORCPT ); Sun, 23 Jan 2022 06:17:12 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:56070 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236301AbiAWLRD (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 3D20E3F1D1 for ; Sun, 23 Jan 2022 11:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642936622; bh=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wt+KhM2mFv1dkMNzMtfVf5uDsXmxwn7dbfZNHDY4a7RiFclcRpSY0/uhH6pfqCXXG /sdDCsV2eRl5Z3IG6Ko8qXCEq4ef+vgpsuJBtPTuvwEnVUbXAuuyR8dbnQ3vFBFQOQ UMLq4zzmnFSXgRydooJnDpAS3OdI0MXzox+8VOgX7wqDw1BDXUbsNDUMOAV8JpsXQT HmEi7WDSVV2hhYv6ge/zmocwZVAQnXwgSiGVQ0pv4k6nqVx4xNqSoKNr36srk5y+GV T+mSfUjRLUelIjd114/aHiybMEbDfVs2H3sl2/WbiymhqNBo3hUJXVPI4m9Nh69Ow0 taPrlKETLGXHA== Received: by mail-wm1-f72.google.com with SMTP id m3-20020a7bcb83000000b0034f75d92f27so1015215wmi.2 for ; Sun, 23 Jan 2022 03:17:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MzcCCtaILPUwt6JujPkbi14iVM2cWS8sO8WH+yvwjrc=; b=T8woesON9F6UI88momlT3MshPssOs/BZGGN5baQwxOKXqcaAQRgi0Bavu5ikvVc9Xa FPhoSmRHLZvesBlUZWEJ6O1rWV/uiLapboHpfxlXznbvfZQctna6dUfYziRo8+HA39Et XEz0fRSusup/AO3T01NpUbQxsoLODKiG2ewO/dSvrV8zUntapDsxrZQY/T6NOQ5s5iq4 RR+fnLkrUU04D7dCZoU2MS+p/r8ECQG8PHmopIWXHVTwtsuBU4WKEoMv6Ww1OP6jV8Nu oudA2Kv4CR07frah1vnom3IDM7ujSAIntwuNKDYnI9urL0qoSsF917uyesbh127MJLw5 n23Q== X-Gm-Message-State: AOAM532uw58/Hi0xtb+icNXW4XuUiRrys9X0JpZlK35WU52mMmmETWKS lJNwcsDxg+HYkfRDLAbY5vtFvIGn2kTFevlokKnwSwQyKpJ1J9RsUOOJabDlPImlmQL96yhU0JB IazK04pXCMa2sLNXMssJOkzUUKZJzUmtGA4jJ/n8= X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr10440919wry.463.1642936621934; 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: devicetree@vger.kernel.org Convert the Samsung Exynos SoC USB 3.0 DWC3 Controller bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski --- .../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; + }; + };