From patchwork Tue Sep 17 06:58:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diogo Silva X-Patchwork-Id: 13805920 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 66F99C35FEA for ; Tue, 17 Sep 2024 06:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Z7wsxkt8kD2tv/Cwg977j2CL2XAhPdhs/VJmk8MeTU4=; b=vNI7l2j1S0gc2F4lNMFUO0WkrR hCB07CR4X5WrqXRe37xZ7wMo9nb3i1QnRBPJH2sPqYeSAru0Pe8LXR6PVgz7Y/Gdck4h9fLlkKEXr DRlfHWofXh8PNJiDyFOgaI1/t/K16lkG+vGoyQvDCdQk39CLXlM76k0wUrVtP1utUZIddgED3gu2k 1r3hecsdwV85T/4MbB1P3VD/9dv46os/dj+8DXkeqXtZpkgeJdzXnSXTVOS2vGyuV9NkmYDqaLw5y cAEDye/F9y8r45VXpx3awXByOoBXS2Mr1K3lMzgGOSB4qneu6/H6szekM7n1nZoqaTSYfXZTRF6iK ip7++DcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqSBa-00000005XOt-3y6W; Tue, 17 Sep 2024 06:59:43 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqSAT-00000005XCN-1nL9 for linux-arm-kernel@lists.infradead.org; Tue, 17 Sep 2024 06:58:34 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-5356bb55224so5769419e87.0 for ; Mon, 16 Sep 2024 23:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726556311; x=1727161111; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z7wsxkt8kD2tv/Cwg977j2CL2XAhPdhs/VJmk8MeTU4=; b=mYOX3YbVraCTJ10KvHFj8NMwTtP8dLTzibhIbVTjcXHGvPrtiqhNEPJ5sIpKybatIg de4U9yAnkTHu5M+xqLSucdj+6sNL60pymTa1XYVeAN4rlonuVaIpN0E9xQ206getq5J1 eBoReoiBaAWMUwBsiU2Qbiu4x+GF0OHipdQk1Ls5vJLwc65lckbBfRhm+7ccua6VueH1 fO8UjmfCCXGEhA0cZDLNcK/jJ2vlES3VaeQmFLa0M1TjPfaQ14kxFl7plvb3uFSy7rVX Eclz5fn/3G4msvWTOp84+rVW8E0AdHg8uu88kOpNFLyuFFeD2WAW56bcKd8SOG+u2CUJ sz6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726556311; x=1727161111; 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=Z7wsxkt8kD2tv/Cwg977j2CL2XAhPdhs/VJmk8MeTU4=; b=pAguKZIgXoe6bBME3ywIkDlHTHCThZOBrX+U8NSf2gkC2CvDvyCn1C7XBE0ODliGuG E9HK6GO/IfTW/Z1NpUHsCSfOCFhKXVTYdSTTEI68Qh4dc8iyvC1u41qL6lKFSPcbWdWB 1sx9Gcu4zZFl/MhTqFhCqZt5+eY7ag4xsPXoVmxeLTYhgvrojmz/FTCFxRhlwQEVwCfx WrglrI9C/qgpwkqSM/yS4fQDRMdKn5tasegwpz1aJnz9QqhKi9VVS2AvVbd7harz0tqe kRykTeo3xtzFLsb8lQjYixD3dJMHIDzUIHv8tHivhdtdB60bHmd4drfl7QuYXj2u1f+O vqHQ== X-Forwarded-Encrypted: i=1; AJvYcCUxaigKeA2fCPXrf7ub1HYP5ljMX9YIAgaortTk3JBYRTseHxOSYfMB51coLJ86ILMD7L77q8NZDOXm/9wLnus7@lists.infradead.org X-Gm-Message-State: AOJu0YwSUMoj/W9Zz/paxFG6fQBXdFzwvUkm62LZHDlGDT3i70tLu8BR GD+nzL9GPmDe4+9dOgSyE3X6jcJQybZOfBMD5Jq+ybNmlFJNCdE2+e0rqpGl1Jg= X-Google-Smtp-Source: AGHT+IGkjhSF7e+whaWFPHV7ed3DYwsF94+etu0W20gL9z5Qoa7dvhLLxv9lP4XynRZRJ9Hm9pDrxQ== X-Received: by 2002:a05:6512:ba8:b0:52f:413:7e8c with SMTP id 2adb3069b0e04-53678fb6a90mr9664342e87.14.1726556311324; Mon, 16 Sep 2024 23:58:31 -0700 (PDT) Received: from ld-100007.ds1.internal (77.119.220.220.wireless.dyn.drei.com. [77.119.220.220]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-a90610f4510sm405100666b.67.2024.09.16.23.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 23:58:31 -0700 (PDT) From: Diogo Silva To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, Frank.Li@nxp.com Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, diogompaissilva@gmail.com Subject: [PATCH v2] arm64: dts: imx8: Fix lvds0 device tree Date: Tue, 17 Sep 2024 08:58:01 +0200 Message-Id: <20240917065801.2579750-1-diogompaissilva@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_235833_487666_5F4D0459 X-CRM114-Status: GOOD ( 11.24 ) 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 Some clock output names on lvds0 device tree were duplicated from mipi1, which caused an -EEXIST when registering these clocks during probe. Fixes: 0fba24b3b956 ("arm64: dts: imx8: add basic lvds0 and lvds1 subsystem") Signed-off-by: Diogo Silva --- arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi index d00036204a8c..dad0dc8fb431 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi @@ -14,7 +14,7 @@ qm_lvds0_lis_lpcg: qxp_mipi1_lis_lpcg: clock-controller@56243000 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x56243000 0x4>; #clock-cells = <1>; - clock-output-names = "mipi1_lis_lpcg_ipg_clk"; + clock-output-names = "lvds0_lis_lpcg_ipg_clk"; power-domains = <&pd IMX_SC_R_MIPI_1>; }; @@ -22,9 +22,9 @@ qm_lvds0_pwm_lpcg: qxp_mipi1_pwm_lpcg: clock-controller@5624300c { compatible = "fsl,imx8qxp-lpcg"; reg = <0x5624300c 0x4>; #clock-cells = <1>; - clock-output-names = "mipi1_pwm_lpcg_clk", - "mipi1_pwm_lpcg_ipg_clk", - "mipi1_pwm_lpcg_32k_clk"; + clock-output-names = "lvds0_pwm_lpcg_clk", + "lvds0_pwm_lpcg_ipg_clk", + "lvds0_pwm_lpcg_32k_clk"; power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; }; @@ -32,8 +32,8 @@ qm_lvds0_i2c0_lpcg: qxp_mipi1_i2c0_lpcg: clock-controller@56243010 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x56243010 0x4>; #clock-cells = <1>; - clock-output-names = "mipi1_i2c0_lpcg_clk", - "mipi1_i2c0_lpcg_ipg_clk"; + clock-output-names = "lvds0_i2c0_lpcg_clk", + "lvds0_i2c0_lpcg_ipg_clk"; power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; };