From patchwork Wed Jan 25 17:57:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13115906 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 B9B96C54E94 for ; Wed, 25 Jan 2023 17:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236052AbjAYR6B (ORCPT ); Wed, 25 Jan 2023 12:58:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235092AbjAYR6A (ORCPT ); Wed, 25 Jan 2023 12:58:00 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 907551167B for ; Wed, 25 Jan 2023 09:57:56 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id f25-20020a1c6a19000000b003da221fbf48so1901436wmc.1 for ; Wed, 25 Jan 2023 09:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JSWaSlJ4ls7ihTqo1gmqPaRQG3AJ8x16qE0HQc0/6H4=; b=RjxMTQ2NYyLKhYJGoZCJ2C570WDNtdtfynWQ8hgzkCr3WnHwtXGZBlQwmniMafmAjR zXdh5+1TpcyqRBBd6Xq+QqU6XdDtXx2yU6PvDW/fkEn8IvxWzMK2NZ09q3R82AW5wPTS NJJOYWc/f1uc/icXoRu4TvqAWt4snsA6sTB6kbzBEouOOkh6HzLw0BsMFU2ETb8hgZjz eCjIy9RvF1uPOPRmyezmEvBLkSHBxp1UaBAH+q74R64iMp+v7m82rqCIQAqt2Ptq/Iu7 YaNJ0v0MZg2yTn3ZtjEMQdIhyQSizKlYUVqFNNA5PAg8qhzvEzch9XOD38Ojp36Nzr4G 5Z4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JSWaSlJ4ls7ihTqo1gmqPaRQG3AJ8x16qE0HQc0/6H4=; b=QMIDBZ2W+Nnd2ejDPAvwF2Az/+tGpyb8IT8KG7unJXmMaGMteN3Nr0nY6LGDJNjW7x XnBqfpHGJidDkqk7LFW0SK7vALPHdrKNunvDj1zI2V/GaWBqxO3EM6Txo8oCzPRkgTU+ fY/SYutO2Fnfr9nvHAfwn64qgBcNFb2FbCQV8Hb4XuEGtQI+aispe9HnXwkSOqwORmVv HbBeYk3/F1/2Mmyr67G5Kj+HWj9gH/eRLsqwgXp9DMeSQO9Ci6wf1bybYJL18ED5PxlP /ixppxELHdd9L3+US5LeG6aTulFWCJwjofFNTQhcT6YVBUsPe/WQxrC9qptt69zNcW/6 CqpQ== X-Gm-Message-State: AFqh2kpZBTKMf+HRDxrlM1Yc20+/UP8OCTwOGOj1tWjA5MNHuDQ2mPF4 HnBtBx7RZ6VcUVyv0M47XezWVA== X-Google-Smtp-Source: AMrXdXth6bnqN6T91DOTrI/5Fj1J/UyobctlisUWYO9JNMUKFVm3+tNFzhCxH9lMkoiuoC3zuHu+bw== X-Received: by 2002:a05:600c:181a:b0:3d2:2043:9cbf with SMTP id n26-20020a05600c181a00b003d220439cbfmr32703067wmp.10.1674669475201; Wed, 25 Jan 2023 09:57:55 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id k21-20020a05600c1c9500b003da28dfdedcsm3421197wms.5.2023.01.25.09.57.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 09:57:54 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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/2] ARM: dts: exynos: add unit address to DWC3 node wrapper in Exynos5250 Date: Wed, 25 Jan 2023 18:57:50 +0100 Message-Id: <20230125175751.675090-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Neither simple-bus bindings nor dtc W=1 accept device nodes in soc@ node which do not have unit address. Therefore usethe address space of child device (actual DWC3 Controller) as the wrapper's address to fix: exynos5250-smdk5250.dtb: soc: usb3: {'compatible': ['samsung,exynos5250-dwusb3'], ... } should not be valid under {'type': 'object'} exynos5250.dtsi:638.16-653.5: Warning (simple_bus_reg): /soc/usb3: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 97e89859ba3d..510be05f50ed 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -635,8 +635,9 @@ i2s2: i2s@12d70000 { #sound-dai-cells = <1>; }; - usbdrd: usb3 { + usbdrd: usb-wrapper@12000000 { compatible = "samsung,exynos5250-dwusb3"; + reg = <0x12000000 0x10000>; clocks = <&clock CLK_USB3>; clock-names = "usbdrd30"; #address-cells = <1>; From patchwork Wed Jan 25 17:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13115907 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 C9506C54EED for ; Wed, 25 Jan 2023 17:58:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236077AbjAYR6B (ORCPT ); Wed, 25 Jan 2023 12:58:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236049AbjAYR6B (ORCPT ); Wed, 25 Jan 2023 12:58:01 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B552E252A8 for ; Wed, 25 Jan 2023 09:57:57 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so1808235wma.1 for ; Wed, 25 Jan 2023 09:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7pGSSEalDoYWNAGFpA7qaWXhO8XIQF7qfeP8WxyF/Pk=; b=Wk/1ouDpgc5GRvhFuO6qq8dZP2yZ2GywvHMD5KCrWlUq/3KHpbBJQyIfI+szvBgi7J a5+ZHMW0txtX/gHXDauyeN58d5L+abTHvohFQoUvvYuPNdx5NN2XaN23oVVyfx1eE/XB yNWsmKFENCcXW74xdcSsyMpozuDC+4LBSDzQQ0BeTJzXZ9U0BLQmWoegXGDCISWD3WCB 5W/XdqIBhD9+EC2CEHYMqwVPu3jKRyPmE1aVDt88KKOjwS8/tkcDgxFNuzfSEgg4KlRy P+AfeoRsrU0vZ/Ohxi95/dShoZ2Uob+TmwcxN6cPNZlUjji/v8eOXr4cvg7RG3+k2U1v fZlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7pGSSEalDoYWNAGFpA7qaWXhO8XIQF7qfeP8WxyF/Pk=; b=LyGDddmwzeDgECkSRU7zdYpy/wcfxwwdRZxcKTSp4/XCHmNJfI5uO9Nb1PtErwSsrg pMjNtEQyq5CZgBCV/0eEs5qFk+/y25v+7iFSyK1QP8pWeDvEl5MD5wY8AGHY8WVqKDiY ULgSU3CibEsXqfwybZ2n6Nm7Eq0hrXE2XE6NI5IB52HHfZAYJu3BjTrTjfuqWcZwpeu7 WPBhtsF4dUcrKLW5mdQD/jebE8ozO4KViT/4qyG6rPqEOi8+/gZYd3Z6BYh3nFHeNopn cXxmgtpyBxvPZorWSPlzQNSVC1kM42Lw+dH6ydAARvnjWO7fFeb6VHHuInzkt2j65WlT Utyg== X-Gm-Message-State: AFqh2kqrx/GGseqjJswbQSaFuBnSP2EiqPjbarSo3wrdrewatOpXRLUt rL6ISbGPALKn/L1pFxtnHQdnsw== X-Google-Smtp-Source: AMrXdXsFkkY0XSu0kApB7XLYTb1DPlMiA4cLuMhgak8E3FvNmmM60B2nm5l0LXRSOe0f2ZpkFE6h8w== X-Received: by 2002:a05:600c:5025:b0:3db:14dc:8cff with SMTP id n37-20020a05600c502500b003db14dc8cffmr28072464wmr.33.1674669476262; Wed, 25 Jan 2023 09:57:56 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id k21-20020a05600c1c9500b003da28dfdedcsm3421197wms.5.2023.01.25.09.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 09:57:55 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , 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/2] ARM: dts: exynos: add unit address to DWC3 node wrapper in Exynos54xx Date: Wed, 25 Jan 2023 18:57:51 +0100 Message-Id: <20230125175751.675090-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230125175751.675090-1-krzysztof.kozlowski@linaro.org> References: <20230125175751.675090-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Neither simple-bus bindings nor dtc W=1 accept device nodes in soc@ node which do not have unit address. Therefore usethe address space of child device (actual DWC3 Controller) as the wrapper's address to fix: exynos5422-odroidhc1.dtb: soc: usb3-0: {'compatible': ['samsung,exynos5250-dwusb3'], ... } should not be valid under {'type': 'object'} exynos54xx.dtsi:145.21-159.5: Warning (simple_bus_reg): /soc/usb3-0: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos54xx.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54xx.dtsi index 3ec43761d8b9..08786fd9c6ea 100644 --- a/arch/arm/boot/dts/exynos54xx.dtsi +++ b/arch/arm/boot/dts/exynos54xx.dtsi @@ -142,8 +142,9 @@ hsi2c_7: i2c@12cd0000 { status = "disabled"; }; - usbdrd3_0: usb3-0 { + usbdrd3_0: usb-wrapper@12000000 { compatible = "samsung,exynos5250-dwusb3"; + reg = <0x12000000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -164,8 +165,9 @@ usbdrd_phy0: phy@12100000 { #phy-cells = <1>; }; - usbdrd3_1: usb3-1 { + usbdrd3_1: usb-wrapper@12400000 { compatible = "samsung,exynos5250-dwusb3"; + reg = <0x12400000 0x10000>; #address-cells = <1>; #size-cells = <1>; ranges;