From patchwork Wed Sep 13 13:36:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13383031 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 642D3EDEC4D for ; Wed, 13 Sep 2023 13:37:53 +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=QRGpnspaeBlf2BaaqxkZFAWocfuE9UaFYuvsLUrk1z0=; b=B8l3j+H75Iqx+i gr1X4y+NbMPoPDNcZk77ydpzox8HhqQbasl63VJuZX1czbXuVXlPiW4z/+Nlj9fwDiFMgEjvCFUVz Jd4iZYOYPkFv+BBxcO3McnIfXIDm5VcFgVSSuBOtklhxI/atzA42f1i7lpZcUNhuyi5i6yYCFDA8S c56W4NB+Z1NlhfsIsWIpi2QSSiIhF0Z8g0i/eyZreb1frlgVYTh32BhQvxVC9MxVebzx+vQZZA6f9 6hn6HJGDijquIW/QJpPh3qdRlGqpO9zas853zG1XlENtJ+MjB5QsBCEHTy+FX9vJUgndHfm3P29WS 5ihgDjH8Ue3+mixop+LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgQ3S-005zxY-2C; Wed, 13 Sep 2023 13:37:18 +0000 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgQ3P-005zw3-2Z for linux-arm-kernel@lists.infradead.org; Wed, 13 Sep 2023 13:37:17 +0000 Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3a707bc2397so692498b6e.0 for ; Wed, 13 Sep 2023 06:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694612223; x=1695217023; 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=1J+knXFdbw4unHaqV5DPD6nJBUr2vN5e3H7F3eaN29M=; b=FLdqbzaH5GMc47eFhY84aKR/VIm7H6/bHmgFEKNM361NSkFJ/A+mIoL8nZyTk0CMZw YFQh0x/G9xzSVifIDf5Irks8i4lDIt4IQWVjBIRAMe1O2l4lVZjJ8zyXVMGjCFh+0MmC bHUAOWS5GSl1SQVX2WCaarza0isylUaNOPALkSPJ5TTaXYyR91U9+eJcx24vqbQb6YYS JgybbgO/F1hKZBsS2UqdP9W7nw+bagJsmWDNFKykXj5ZDSsH9XPP41SWvmplCziXcsj4 nnqU0ZQQTP/N2jspTgOXu82sailNpVHXh8Pnw5eOXoQbVRy1e2C7llYipgwHsMBqL0RC hXPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694612223; x=1695217023; 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=1J+knXFdbw4unHaqV5DPD6nJBUr2vN5e3H7F3eaN29M=; b=smn8WLMbbC19Y8dEZ7p/b2vtD3hkXSBhbhjLFJ60RgJFpx5E8NWBMULF7vqkesfWbh FXGtvPWRaoX5RwMtW8lpxr4eLS191as/9d4VtSnf/hf4pFuVpd1bUeWvdmalZMyjUNGA KKawqZMwQlU7OIqg1Bw9sgQkZZCib+fOMOTZYT7gshFLH/rXUde0i3snMgzEq+IOUmoJ U0QJYPzV3ps/qme+lATab8/QQzI9cPjRgEONV5jTTW06QeYbVbvVtGb3L0iL2KtYZuIj /ogPoMlKZV5Io3IUPyh/A9BwsfmrLPjkKuOik3/Y8PPtlO5msZQeMTKHAJA/rUQBhaPl JwNA== X-Gm-Message-State: AOJu0YzNiSubGCexLGQ29CKHsfy0PGlACbYzB4SftjBMXUqVGwdyr0PT rGq6fJH8E5LkRCWM7RrMBtx1qroDTuo= X-Google-Smtp-Source: AGHT+IFccznfdOiCT+aAPr17swVnBIREExiPiHkuLX9GxEPa6vnIDqakENtAhhwl9bvrHTgL+ovqng== X-Received: by 2002:a05:6808:2220:b0:3ac:9ab2:1912 with SMTP id bd32-20020a056808222000b003ac9ab21912mr3685082oib.3.1694612223066; Wed, 13 Sep 2023 06:37:03 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6263:f1ad:789f:d6b]) by smtp.gmail.com with ESMTPSA id k18-20020a05680808d200b003a9a35349b1sm5135813oij.24.2023.09.13.06.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 06:37:02 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx7s: Fix CSI clocks Date: Wed, 13 Sep 2023 10:36:48 -0300 Message-Id: <20230913133648.1870510-1-festevam@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-20230913_063715_860691_1154ABB3 X-CRM114-Status: GOOD ( 10.66 ) 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 From: Fabio Estevam Per nxp,imx7-csi.yaml, there is only one CSI clock entry. Fix it. This fixes the following schema warnings: imx7d-zii-rpu2.dtb: csi@30710000: clocks: [[1, 413], [1, 326], [1, 413]] is too long from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# imx7d-zii-rpu2.dtb: csi@30710000: clock-names:0: 'mclk' was expected from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# imx7d-zii-rpu2.dtb: csi@30710000: clock-names: ['axi', 'mclk', 'dcic'] is too long from schema $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi index e152d08f27d4..9e683f499f40 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi @@ -800,10 +800,8 @@ csi: csi@30710000 { compatible = "fsl,imx7-csi"; reg = <0x30710000 0x10000>; interrupts = ; - clocks = <&clks IMX7D_CLK_DUMMY>, - <&clks IMX7D_CSI_MCLK_ROOT_CLK>, - <&clks IMX7D_CLK_DUMMY>; - clock-names = "axi", "mclk", "dcic"; + clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; + clock-names = "mclk"; status = "disabled"; port {