From patchwork Mon Mar 14 18:41:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 551154 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 502ADC433F5 for ; Mon, 14 Mar 2022 18:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242176AbiCNSma (ORCPT ); Mon, 14 Mar 2022 14:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234612AbiCNSm3 (ORCPT ); Mon, 14 Mar 2022 14:42:29 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AD252AD1 for ; Mon, 14 Mar 2022 11:41:19 -0700 (PDT) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.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 DE4C741C46 for ; Mon, 14 Mar 2022 18:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647283277; bh=twa4BYCzD/GIzllgnltsSCLONxEdjrI922zlGL23Jjc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=aE17M9ZnbvnSRPQabWf3yMKevnT3dkWF4uCQEj0hvdYw8IxjS2xcXqO1uDBnrIkhc rvLFACKUunfbn0SLnvAnUnJ0OT9qd2eZqERJcevZGkmdrteWXGh1tSkAWJsSo/Dbba aAp6ZGR4V7474ZmhBR4uNQCeAA6hu+FYOj254mcbwNFqZylp8NbNCBaHBRe5V6BYGz I/X4uRDVQxd/6i7G5x2/q8QLjlorhAAsLiMwc1ygfLkh+cxHwgi+1GHyE1cFTpdwdP sBEObrkEdWicBjNP0tniIKa1LkduYTNhbUy/r9wWeVWCV8r/Bj9Q/TiftzKEFWTRT8 2vzp/Rsl4Sxvg== Received: by mail-ed1-f69.google.com with SMTP id u28-20020a50d51c000000b004159ffb8f24so9273014edi.4 for ; Mon, 14 Mar 2022 11:41: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:mime-version :content-transfer-encoding; bh=twa4BYCzD/GIzllgnltsSCLONxEdjrI922zlGL23Jjc=; b=OuhByNWkmkWhhgg9kYmOLQTqU4zAi5gur+lDC8QmEGljMvlx2toFYgQzcYLghkn5GA zJPiT3H37UqWVsjtIR8MOMGu2OKVeGUqdymjkANfShens9FYapmGW0tAnHMpO1LWM7lm vFUEXoY+XSc1G09bvUS1OjCKskn8mzpBMDvWcQ9HjjqhlkGoMNw/d/r99R4VcGzEbF0/ rqDwOKu7le0G5v1Pp67JqoOlgeg2z1nFLiswsZRcnvrVe7klpg7qx2ZN24PWXR/z8PJV oNYnh78XrNSzfwqLXG6ViRcBWeqN/Uo9lis118D/MiFyFmU0g7dvSNIISo5HzZAWTUgj s4EQ== X-Gm-Message-State: AOAM533OqX6P9rJP9RcLIacscGmVSE1bUl6WpuqMigbu1Yivun4Zx4gv giWGTDm8A9mX7fHg8BQ/bzgEsWlxvv2JqCRklKQgahoRCcyw8CPfM/9+DZuMrW3HmcKRF7EChy/ Ki3aCk6Oc2MQ7Zl18EBTyvwsO1MwO9dI0NCOOLtg7OwfYhCQf X-Received: by 2002:a05:6402:440d:b0:412:9e8a:5e51 with SMTP id y13-20020a056402440d00b004129e8a5e51mr22505832eda.362.1647283277578; Mon, 14 Mar 2022 11:41:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/rA9hTsxiHAKvu85JqEzovAJIEl0PB2/ZQkQ43N1ZDrKyGcfarG14p+fKLfXO8AtY7sKdXA== X-Received: by 2002:a05:6402:440d:b0:412:9e8a:5e51 with SMTP id y13-20020a056402440d00b004129e8a5e51mr22505808eda.362.1647283277339; Mon, 14 Mar 2022 11:41:17 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id l4-20020a170907914400b006d9e0b46fabsm7076849ejs.193.2022.03.14.11.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 11:41:16 -0700 (PDT) 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: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski Subject: [PATCH] ARM: dts: exynos: drop deprecated SFR region from MIPI phy Date: Mon, 14 Mar 2022 19:41:13 +0100 Message-Id: <20220314184113.251013-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-samsung-soc@vger.kernel.org Commit e4b3d38088df ("phy: exynos-video-mipi: Fix regression by adding support for PMU regmap") deprecated the usage of unit address in MIPI phy node, in favor of a syscon phandle. Deprecating was a correct approach because that unit address was actually coming from Power Management Unit SFR range so its usage here caused overlapped memory mapping. In 2016 commit 26dbadba495f ("phy: exynos-mipi-video: Drop support for direct access to PMU") fully removed support for parsing that MIPI phy unit address (SFR range) but the address stayed in Exynos5250 DTSI for compatibility reasons. Remove that deprecated unit address from Exynos5250 MIPI phy, because it has been almost 6 years since it was deprecated and it causes now DT schema validation warnings: video-phy@10040710: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Any out-of-tree users of Exynos5250 DTSI, should update their code to use newer syscon property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm/boot/dts/exynos5250.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 5baaa7eb71a4..d8d401b5ca48 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -817,15 +817,14 @@ mixer: mixer@14450000 { status = "disabled"; }; - dp_phy: video-phy { + dp_phy: video-phy-0 { compatible = "samsung,exynos5250-dp-video-phy"; samsung,pmu-syscon = <&pmu_system_controller>; #phy-cells = <0>; }; - mipi_phy: video-phy@10040710 { + mipi_phy: video-phy-1 { compatible = "samsung,s5pv210-mipi-video-phy"; - reg = <0x10040710 0x100>; #phy-cells = <1>; syscon = <&pmu_system_controller>; };