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: 12780658 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 35BC4C433EF for ; Mon, 14 Mar 2022 18:42:38 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=esdu8xjwEk5LUiZouej0D220lJwPgAKKyy7q0RQkqdg=; b=ul5S/gaY/QzhGi 6nPR2wr6XP6gMMyoCtacxqmnGSNkqCrCtwf5nSMoOPrIZKM7ckyatnzlWsfIL7tDTqG1mwsP0uA8I rKC9HU8yyLuOaTDmNzu7cbFZWUJ1y5fMhdUsce2ELqmMQbY3S7O/iG+ghWabe+8vixIDtVPEIyCpH LCgWyV0uT8380ZZxgsRg8f6wp7n2VsVqf42oGg07c29JgJrrd55ptF4GTSjtHQPwLt09PkIwGQmuW LlLygNekJlCUs1jyhgoPWWFC93nypzIIBEVT1z/ApRoB6aw0hQjTSyelLeMkHy0rnhbbwKKeoRtEH ZmeBBJvC9loxn5pWiQ2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTpdC-006Xjz-KO; Mon, 14 Mar 2022 18:41: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 1nTpd9-006XjL-7g for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 18:41:20 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 EB82941C4B 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-f70.google.com with SMTP id co2-20020a0564020c0200b00415f9fa6ca8so9292093edb.6 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=oy/MAmENU2+qmjWE4jT5GbjMmKnMO0gtQDMF91e0k156ogz6FJ3exrIbEPYANMrjdD WcVicrCCz0tyNwqXE97aAWS8atyQyFJen6UvTDK0Dl2drFGsBY1ISoFjMna8zautyplm 4AftS7Q1Z11zHDmySs6Rm1a+9xTBliJRZO8sxnrDppTrYfFJJ1vNDThNd5dGNOaDuFdd n2DP+TgykiTIHvQVhOEsgFmGPXS9CyyPHFPaytS3ocfCFHSB0mw+b9aHdHtXqOpcAK/8 8sDOLqWGpHyHhdaTmoVhALX+zH0IZIc0alWckw3F3LX16881APgGc0gvuxXjOXQJMuoV 3jYw== X-Gm-Message-State: AOAM532g0+Dh7s3ItoRKgCcOmGnn5HhvzV28DNdSHG+hQbG2MYdjNRT8 HpXkzx/w0cgJZcAtXRlfF7pJKeGrAAabQaHNWroWlCnJk9FZN9xrmusssm9mX90YZKUhPcjPDKn tYYB44REEjw77MzVBX7AwDYvaSYVH/bTZoVPxbHd0xehwj2sf5Aku X-Received: by 2002:a05:6402:440d:b0:412:9e8a:5e51 with SMTP id y13-20020a056402440d00b004129e8a5e51mr22505829eda.362.1647283277576; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220314_114119_562592_9B7E7FB6 X-CRM114-Status: GOOD ( 14.38 ) 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 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>; };