From patchwork Mon Mar 14 18:19: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: 12780630 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 A06D0C433EF for ; Mon, 14 Mar 2022 18:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239145AbiCNSVX (ORCPT ); Mon, 14 Mar 2022 14:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243717AbiCNSVW (ORCPT ); Mon, 14 Mar 2022 14:21:22 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2B4E34BB7 for ; Mon, 14 Mar 2022 11:20:11 -0700 (PDT) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.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 8F86740026 for ; Mon, 14 Mar 2022 18:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647282010; bh=U8OU69oA8CY5cA8ZS5yQs0dGgRqDiUpqozJ7NxlASIk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=b2NvLmlZ0LfX8sNcJUapJJWj1z7h6pw3iLWcqKk7ARfy4/ZovpR79m4prxfvvyB77 HlM7o5Vo4EcvfSBL7dIwEl58fXMAGoo68VejJGUmv0gQbbwhJxOvqhPYFKk4SKtGPW JEEWZvf+ten4Ns6uTbK9+mdx10bUsmAMU5wQP42UWhswuE8OsUXoxpyIQTQuRlhhC+ zqXIEYZ/bXIpykw4WgOP+xryIaadwFvrxNDSNbxaGdvItlnuzCaOO/QTtN/qowOU03 cJwnkF5YQN7tu8sD1oos21C5bil6IQsyZycp/Ys+aIh0btBBnfEfjnbq0BeERYfRKw iQlsOQ6qW1ewA== Received: by mail-ej1-f72.google.com with SMTP id k16-20020a17090632d000b006ae1cdb0f07so8365126ejk.16 for ; Mon, 14 Mar 2022 11:20:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U8OU69oA8CY5cA8ZS5yQs0dGgRqDiUpqozJ7NxlASIk=; b=w4x9yzS4bh+XvGwcTPvGLWiBajNGMlppSFk186PxyL80L7l39uFS2uWaM+gWjod/g3 oF/1/4jeN+X36S5pvbzF3t/77zTa8zY6TbWv/wI4qZg0qJc7Hf2uvlcepEkb58aWRQFg dKurwlK6eSpW0B4bZw7ZuWF17EyzNDUslmHEnVmyDm9okpGdntI21M8iOutP/xDID2pN S6lYZTWZk8XFOdfHTjsN2h6tlibloVQMEIJqquVPDWn8uPY5xJvbV3YXh55PcEzNcx5c sfCCGEeL2jMt2o5bQsZ4/VkKBpI+PTHMgc1uAzCgN4t+urdjIKSISkBKySoIze6RuiRf 52+w== X-Gm-Message-State: AOAM533RqZ6bjb80FGwvAQabZZuRK9tC1h3fHIvzY8s8oVw7HZnpgMit ayyxPcT8MzLC4JrglqFoRFCHhIHMOOTzAGwH+7jV3emvqQSMC9KMFuPKYZttYJ4qos8wbd4ieza mGp+FUvmCscTk77qY+KR2UuL+vLZiI6gqEQH38Q== X-Received: by 2002:a17:906:4cc7:b0:6d0:7efb:49f with SMTP id q7-20020a1709064cc700b006d07efb049fmr19162184ejt.639.1647282009783; Mon, 14 Mar 2022 11:20:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykfuiix6CGfcuVN3LbtcoNjfp49yxsV/G1SXPbVJxr5AUlGKmZWMubD6N2B5kngeBfouUT/A== X-Received: by 2002:a17:906:4cc7:b0:6d0:7efb:49f with SMTP id q7-20020a1709064cc700b006d07efb049fmr19162170ejt.639.1647282009622; Mon, 14 Mar 2022 11:20:09 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id i25-20020a50fd19000000b0041614eca4d1sm8566449eds.12.2022.03.14.11.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:20:08 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] ARM: dts: exynos: align EHCI/OHCI nodes with dtschema on Exynos4 Date: Mon, 14 Mar 2022 19:19:44 +0100 Message-Id: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The node names should be generic and USB DT schema expects "usb" names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm/boot/dts/exynos4.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index e81b3ee4e0f7..5fd17bc52321 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -373,7 +373,7 @@ hsotg: hsotg@12480000 { status = "disabled"; }; - ehci: ehci@12580000 { + ehci: usb@12580000 { compatible = "samsung,exynos4210-ehci"; reg = <0x12580000 0x100>; interrupts = ; @@ -384,7 +384,7 @@ ehci: ehci@12580000 { phy-names = "host", "hsic0", "hsic1"; }; - ohci: ohci@12590000 { + ohci: usb@12590000 { compatible = "samsung,exynos4210-ohci"; reg = <0x12590000 0x100>; interrupts = ; From patchwork Mon Mar 14 18:19:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12780631 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 6AEE6C4332F for ; Mon, 14 Mar 2022 18:20:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243734AbiCNSVZ (ORCPT ); Mon, 14 Mar 2022 14:21:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243717AbiCNSVY (ORCPT ); Mon, 14 Mar 2022 14:21:24 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5915234BB6 for ; Mon, 14 Mar 2022 11:20:13 -0700 (PDT) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.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 31BA440029 for ; Mon, 14 Mar 2022 18:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647282012; bh=XM2s1gZCmvaiMC5hvavtavOjROhOMhICf68KJhjCzDk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KT/uX2sVsPSmI8vEtaWsTohMjRQSYMn2kSUM95g31pB9MVI+l0Te1LXH8Rq7XcVQw A3rF0QaSkgo5DkH1ij7nEZCCgFyv0PXmUEdTnH/Y0AksasFnPMQ3C6FtBRF7y6k8uy uMbg/McpRn3Wf+q3dv+UJQ9+f0blymVf99TV+rjSVEPKVeaHt8RfTAgAJ0u7abLLlt UVpbyVKthfi0rxqs2u+9hfoyR9jaQCpXPSYaWrWe2DozVIO+Wg/qL+4/5vGFyB151b j5pslMJTwoQawFw3CNj/EV7diyWPR3PZfhXWH+CYMYClb/11boZbxQaTiroPoOCCJd lQEILsrsNjZcw== Received: by mail-ej1-f72.google.com with SMTP id d7-20020a1709061f4700b006bbf73a7becso8355052ejk.17 for ; Mon, 14 Mar 2022 11:20:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XM2s1gZCmvaiMC5hvavtavOjROhOMhICf68KJhjCzDk=; b=KdNYWvmd8vc2FwKyOs7Ix/hWD7PF2nOJJdRdRJpkCbw0NxfH+j4IZR7Nius5N6AA50 XMO4/yNCh7ION178f5nh+hmb675Gww3vGY7LNsYH64ttRWIYVlFFT7JxP8Ry8UC7SG/0 /0TGFuP1SGIbyEXvVSxQDkFRCinMJKJemOiEmVhjGy5rXbhoHXMgcmHDYHc5FV0rNZr1 FZjMRokxmVd83XDrKJg5BJHTZygQCfhUHWuxzc6wcd0ybiqr5avl7Sa64jc4Q1oDUziX mBiYxHarVETEfyyjLsWPWRlQA3zle+PVhqAzM2GgRUpdUoAD5Ph0YuuPttYOgmOgdcpB 90BA== X-Gm-Message-State: AOAM531SyESFM7RtCog1NyzsqAlvnd/ZLSA2XQG0d3TEHATabuf6kdJp rXd5d/V/g9hLlJcx1oIjpn3+rz5jZVMRXZTbuWztpwzw4gYNSjmvvY86vt9X9FhUliM8cF2f4lc XxNRnaMiPMg0M5j89el3exClkkJPCquwMznbeRw== X-Received: by 2002:a17:906:a08b:b0:6b9:2e20:f139 with SMTP id q11-20020a170906a08b00b006b92e20f139mr20617749ejy.463.1647282011625; Mon, 14 Mar 2022 11:20:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5tg2FLtKp4Xqd7L0LVthZGXx0d5/uGsjTyL2DgIGrjaZnaYsMA1POfB2dWcScokMBvI7Axw== X-Received: by 2002:a17:906:a08b:b0:6b9:2e20:f139 with SMTP id q11-20020a170906a08b00b006b92e20f139mr20617734ejy.463.1647282011472; Mon, 14 Mar 2022 11:20:11 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id i25-20020a50fd19000000b0041614eca4d1sm8566449eds.12.2022.03.14.11.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:20:10 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] ARM: dts: s5pv210: align EHCI/OHCI nodes with dtschema Date: Mon, 14 Mar 2022 19:19:45 +0100 Message-Id: <20220314181948.246434-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> References: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The node names should be generic and USB DT schema expects "usb" names. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm/boot/dts/s5pv210.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 353ba7b09a0c..a7aca54832d9 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -427,7 +427,7 @@ usbphy: usbphy@ec100000 { status = "disabled"; }; - ehci: ehci@ec200000 { + ehci: usb@ec200000 { compatible = "samsung,exynos4210-ehci"; reg = <0xec200000 0x100>; interrupts = <23>; @@ -444,7 +444,7 @@ port@0 { }; }; - ohci: ohci@ec300000 { + ohci: usb@ec300000 { compatible = "samsung,exynos4210-ohci"; reg = <0xec300000 0x100>; interrupts = <23>; From patchwork Mon Mar 14 18:19:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12780632 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 6A2BDC4332F for ; Mon, 14 Mar 2022 18:20:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243761AbiCNSV1 (ORCPT ); Mon, 14 Mar 2022 14:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243727AbiCNSV0 (ORCPT ); Mon, 14 Mar 2022 14:21:26 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF49735865 for ; Mon, 14 Mar 2022 11:20:15 -0700 (PDT) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.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 ADE9740028 for ; Mon, 14 Mar 2022 18:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647282014; bh=fp8gzCHSAGGAhHxY8/ZkxcekCduFjxC+Ysw+LEh4qoM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=BExsAhYZgcKHoao29q5wOLXprN/vGcigf/rb5Ft3Hn06gfilxYl2Sk+AgQ5h0/fKf 8oDLav2rWdoS6lqaz++d7PLAIiE+yDB7PHq0mSkpUnlhmCxONfQal5SMHa2ZO79Hf5 uLUbp50wr8kMuuFu24h4Om+1X9LcsaSIeqKIaiwBuoONTbcOcmjhv84Q25P4bcJH5E zfCodh5cAww/By5E75BT3u7ML3Fn7TQ4QnwI1Evc/rvXNHtXHtLwMP7j/FV55adNSY 3Pfaip+4+zuecXOTTUTnPeyzWtBQfwA9CwxeKiQnGAJnxnZmR/Y10Z5PfU9J4tg2JQ B2x6G7PgH2Dyg== Received: by mail-ed1-f71.google.com with SMTP id i5-20020a056402054500b00415ce7443f4so9274642edx.12 for ; Mon, 14 Mar 2022 11:20:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fp8gzCHSAGGAhHxY8/ZkxcekCduFjxC+Ysw+LEh4qoM=; b=awRaKgCmx6xuzkZFh0e8ezxJTOQXLiBhwaA7Os1x9fvpkXYm6eCh2Qc4TfC0J40kck U6kimy/avBdHCChR7o8Z/VJbmn34KktJV1mJU2Gvb/N+qBMDHGfylikfK2JIuxn5TB5o I7+YtU8dfZdrZ8eBJV7Tc7bTFhHGk7T5z4fcaPpFOTBSBVFhTNNIPBRupxeJ9y0NDhmi XPcXRWbMHEMMeivMkJm5G1TjJ3W7va9jB23gjW5QnYsUF8qF/GuaswJ4TSnkYZ7WwQLH z7YYetTCEb+qN0M1hMsCvFneUn6RoVGda5kd3ucqtcs4LCXFIylzYTkT25arO3CvQS1l 2KEw== X-Gm-Message-State: AOAM532daC9vI3flmhqHKFMzMj/YdsgKJYOWhEM7KJcnASUhha/RxYhW hJdy9/nkP/SgKVi1YQhS1QROvmZ3MNcZCLgfOW4jQ8D8e4vSxs0jbl1szJ8+QeZ+vbu7muwCXnh yZ2STF3+uDiKyCVEaKCEFn2RniknLmZKDxII6cQ== X-Received: by 2002:a05:6402:5cb:b0:415:e04a:5230 with SMTP id n11-20020a05640205cb00b00415e04a5230mr22004452edx.352.1647282013441; Mon, 14 Mar 2022 11:20:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfJEfoRq9Vs7yHaKY2O3oU3VWB2UJaMc03+F75wKvACaBfz72jl5h/d9vBhLJ488DLA/DFXg== X-Received: by 2002:a05:6402:5cb:b0:415:e04a:5230 with SMTP id n11-20020a05640205cb00b00415e04a5230mr22004429edx.352.1647282013219; Mon, 14 Mar 2022 11:20:13 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id i25-20020a50fd19000000b0041614eca4d1sm8566449eds.12.2022.03.14.11.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:20:12 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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 Cc: Krzysztof Kozlowski , =?utf-8?b?TcOl?= =?utf-8?b?bnMgUnVsbGfDpXJk?= , Marek Szyprowski Subject: [PATCH 3/5] ARM: dts: s5pv210: Use standard arrays of generic PHYs for EHCI/OHCI device Date: Mon, 14 Mar 2022 19:19:46 +0100 Message-Id: <20220314181948.246434-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> References: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Move USB PHYs to a standard arrays for S5PV210 EHCI/OHCI devices. This resolves the conflict between S5PV210 EHCI/OHCI sub-nodes and generic USB device bindings. Suggested-by: Måns Rullgård Suggested-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s5pv210.dtsi | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index a7aca54832d9..4ea1e638432a 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -434,14 +434,9 @@ ehci: usb@ec200000 { interrupt-parent = <&vic1>; clocks = <&clocks CLK_USB_HOST>; clock-names = "usbhost"; - #address-cells = <1>; - #size-cells = <0>; + phys = <&usbphy 1>; + phy-names = "host"; status = "disabled"; - - port@0 { - reg = <0>; - phys = <&usbphy 1>; - }; }; ohci: usb@ec300000 { @@ -451,14 +446,9 @@ ohci: usb@ec300000 { interrupt-parent = <&vic1>; clocks = <&clocks CLK_USB_HOST>; clock-names = "usbhost"; - #address-cells = <1>; - #size-cells = <0>; + phys = <&usbphy 1>; + phy-names = "host"; status = "disabled"; - - port@0 { - reg = <0>; - phys = <&usbphy 1>; - }; }; mfc: codec@f1700000 { From patchwork Mon Mar 14 18:19:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12780633 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 98CECC433FE for ; Mon, 14 Mar 2022 18:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243778AbiCNSVa (ORCPT ); Mon, 14 Mar 2022 14:21:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243760AbiCNSV1 (ORCPT ); Mon, 14 Mar 2022 14:21:27 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1901366AB for ; Mon, 14 Mar 2022 11:20:16 -0700 (PDT) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.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 817BC4003F for ; Mon, 14 Mar 2022 18:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647282015; bh=3F2+CAuLP5QZLFRCTc5YKJtMfEWVhLlhzdIM3Py96Yo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=o/g0x/LPDRZnBOVMej65YdHFbrr4rtuf1ugwj/EbdyLqBzkhbcq8h69LHRbrBULZl 56n49IYWfOLKHNQgN/EfXI5nbegDJyYwtfio16RH6d4hTvKIgzpmz1eNFhtikz9Ek/ lMXjFKEDGXaPGmOLAsHYKTipYo0dBkAk2gKHRu3oAcXdMscbru1NOwiQRL5LlSX4nR Qhil2K4n+4hnGZUwMX0KMJMcARC4hL5qVPlmzOJR0gjCK9vd/nhCXNhkod0pS670R8 LnDOCSX4fu8i2oREe0473rrUymAP3RD+HUg4o/ZargeT/Eb45ES3AF+KqaTd10bd40 xipn+Cc57cLXA== Received: by mail-ej1-f71.google.com with SMTP id q22-20020a1709064cd600b006db14922f93so8372736ejt.7 for ; Mon, 14 Mar 2022 11:20:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3F2+CAuLP5QZLFRCTc5YKJtMfEWVhLlhzdIM3Py96Yo=; b=5L4+Itjc01SQILUYIgVd5DPiaZtR75ked0thHUJnm6lnQQWOX63LLG01zhrzZBLv8g GjBDlFsLaZBBAkuAErLoupzeVD4+4NftFiVgM0eUsc9rjMJiQg5kDLzjKfHQpsNNIV0F JkykSf5jVL1MZx5NKe/uX5qrj7s/O4ksbN1DWryF+V2f37RcJ9eXkjHw1DBF1uAIz7di /VsE+vsWXwd99uDQO0QLkUo/6caj20AthgMpHRHzn/5xe4FE+jursI449OQwidA0e9n/ TReoEzgk6SkVPdsc+NwsCYl/qLWwjUpTb9/i1llsUguTycx/OID+9h+PLR4W3NwDUTQ3 rOAw== X-Gm-Message-State: AOAM531nwO9MPRrl/rwnf4SlNxxC0KsSqxbIF1k0+kHPdTIjTzshbdjE MuIR6Wa/me/X/Uk4pZ0uhZwM4qTaY3cvGRStLxWDHX8qHFJIoZUlajcgq14sdHjs8p8n4clBtMC lDGzwoNUO5rVdGem8hXGhBuE12mSzFMFeMwdiPw== X-Received: by 2002:a17:906:7953:b0:6da:951c:1173 with SMTP id l19-20020a170906795300b006da951c1173mr19830436ejo.465.1647282014952; Mon, 14 Mar 2022 11:20:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkcwlyOc0SXQwJvd/c10csYRaaMAinbSZyI/FaYE0QvgKDO1i/aLi/j5YzU3k9ZXqrCumxNw== X-Received: by 2002:a17:906:7953:b0:6da:951c:1173 with SMTP id l19-20020a170906795300b006da951c1173mr19830421ejo.465.1647282014773; Mon, 14 Mar 2022 11:20:14 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id i25-20020a50fd19000000b0041614eca4d1sm8566449eds.12.2022.03.14.11.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:20:14 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 4/5] dt-bindings: usb: samsung,exynos-usb2: add missing required reg Date: Mon, 14 Mar 2022 19:19:47 +0100 Message-Id: <20220314181948.246434-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> References: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org "reg" property is required on Samsung S5PV210/Exynos EHCI/OHCI controllers. Fixes: 4bf2283cb208 ("dt-bindings: usb: samsung,exynos-usb2: convert to dtschema") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Acked-by: Rob Herring --- Fixed commit in current next. If this should go as fix, I can split it from the second commit. --- Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml index fbf07d6e707a..ef42c6fce73c 100644 --- a/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml @@ -62,6 +62,7 @@ required: - interrupts - phys - phy-names + - reg allOf: - if: From patchwork Mon Mar 14 18:19:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12780634 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 3C32EC433EF for ; Mon, 14 Mar 2022 18:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243787AbiCNSVc (ORCPT ); Mon, 14 Mar 2022 14:21:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243767AbiCNSV2 (ORCPT ); Mon, 14 Mar 2022 14:21:28 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4941B366A2 for ; Mon, 14 Mar 2022 11:20:18 -0700 (PDT) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.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 0409B40026 for ; Mon, 14 Mar 2022 18:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647282017; bh=ZZZmUkbhHody3cQg6YTtcASZbjcHkXRB0CKHR4Vfcs0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pcz4R4pQTgOWbSqMi/K0lGM02Aag0jQBcF5nHYhwmvoo5bpnn8JCDkku1RG4HrQWz A4+ZkU5P4CdO2xU9eCudeyIiDuHLYQV7uJ3n5vq3GdM01YkskS/4eC3fxAR3Onx6hl BNd0XwjcePV+E+s0FR+HhWrwGnfyKC5eMmfSY12w3GXovCC7apnPLnTGAxVJxMP9QR 396T2fHJQFhcFR+r7BTHiSRPNwNrkQVfFTRE39R9CsNyHqJtMi2qh4tx2tlh7NLhUx X/rmKWx/0CxzFss3KtSXjy94p9w8WXMCZ6aWAAzPanHDiIjfIJVzcL2sSNSdVkfhdX 5kRoKssevUUMQ== Received: by mail-ej1-f70.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so8299159ejw.9 for ; Mon, 14 Mar 2022 11:20:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZZZmUkbhHody3cQg6YTtcASZbjcHkXRB0CKHR4Vfcs0=; b=RS36Sj+nUyKa0MJrdvhpySveyyfd0QbyLmzmV0CH/ibawpegxv7q0YLyPidKapsmY5 zj2yyaVYX8K+BjNp5xRBpxu1fcLRy4oSjlccw5PvtqNaak2dhG6K+6+v97mCLQ50pS5Z dTXGsRumCD/qqqa/7gv2v1ZIiqmrxCRozOjXnnFyabUgJWW9WeDW4R30W+3TTBbZReeQ yoSh/OESe9EHjVsxDwBaqSxgpcElb+JyauWiOsnvKBZ7tWGkOA/C3cOrLw/gMvT+e9QY 6bKAEW5mnN6Zj5Vyn0uVZeb/yWCQuupUQ2iL/UOre9amKFvRr1LnjXzjU4BTej18sTNh l6Jw== X-Gm-Message-State: AOAM533SIgqs1GN2l06p5Pq1I9iSoqCPwdzGXqIOEBC8nOtJ6RK9tUMx ci8Yn0qwz2tu06vjeAyoQRhSazyfbSvlv4bl4uEgVBDZOmtV4M7hdphdWzgmlRcv/52Mnu7WwUq N8NqPRpwhqctSjNiK+6lNeRbCgcrW53wf5/zasQ== X-Received: by 2002:a17:906:174f:b0:6d0:5629:e4be with SMTP id d15-20020a170906174f00b006d05629e4bemr19138895eje.525.1647282016652; Mon, 14 Mar 2022 11:20:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxilSk6aR5x6eRg2Sw08ds9XOo2mHj9ui0uVFPKjg2yLuwqGtgXaY6G1Ov0G1h2AdMHYrbneQ== X-Received: by 2002:a17:906:174f:b0:6d0:5629:e4be with SMTP id d15-20020a170906174f00b006d05629e4bemr19138877eje.525.1647282016448; Mon, 14 Mar 2022 11:20:16 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id i25-20020a50fd19000000b0041614eca4d1sm8566449eds.12.2022.03.14.11.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:20:15 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] dt-bindings: usb: samsung,exynos-usb2: include usb-hcd schema Date: Mon, 14 Mar 2022 19:19:48 +0100 Message-Id: <20220314181948.246434-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> References: <20220314181948.246434-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Remove parts duplicated with usb-hcd.yaml DT schema and include it directly. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/usb/samsung,exynos-usb2.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml index ef42c6fce73c..76e25b9efebd 100644 --- a/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-usb2.yaml @@ -15,9 +15,6 @@ properties: - samsung,exynos4210-ehci - samsung,exynos4210-ohci - '#address-cells': - const: 1 - clocks: maxItems: 1 @@ -46,15 +43,6 @@ properties: 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 @@ -65,6 +53,7 @@ required: - reg allOf: + - $ref: usb-hcd.yaml# - if: properties: compatible: @@ -74,7 +63,7 @@ allOf: properties: samsung,vbus-gpio: false -additionalProperties: false +unevaluatedProperties: false examples: - |