Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1519555lqz; Mon, 1 Apr 2024 08:38:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTAQ3R7REhhjQYXTe6qU++t3m4T+ojTrrQ1jlqTI0PxzPq68wjUIysGEBFckh8TOqj4H4g8A6W7PDodMnfqbd54lYjyW/iIfNSnEKgVA== X-Google-Smtp-Source: AGHT+IG7xMC6HTDWV07OII+KmzYDmwIZZkHWB6SmGZ+fu9bEuV0tzirRddRaECjzsaH4Abce2JS8 X-Received: by 2002:a05:620a:6403:b0:78b:d152:703f with SMTP id pz3-20020a05620a640300b0078bd152703fmr13106833qkn.21.1711985910644; Mon, 01 Apr 2024 08:38:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711985910; cv=pass; d=google.com; s=arc-20160816; b=HcP+qJwUcIEX4UP9JfEImIFEmwEB8uF/xB+gQhIue1J7s3C6J0UC1T/4nvmWuyqciY 1sVcFHUk0q9rpV3+mxSrdT4Om2V7yZ7wFXiiIBExIx/UyDOvhZXFtgjmMglsFVicB5H1 3+FtPU2Aq8rdKqjgHprp4Q8iZehh3pm7rewK4N1W51Q0H2csRN3Tg6yBSqjcDTPAlSIx 3yecdgxhpIJBROgvd7TnrXfnZWx2nGqsagnQjazryQA7B6gxwxEEnScZyZfN0zWpAPbP rcpkVzXpY08maKPXaFNGBlzz5h7AhBYcIC0h0tiUBIgwgmqpzCRimpbgXGZNmDx2cO9W Tp3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=chI16ladinolAnl3h6ODNYqH3UTuRLVcuqVpWutvUO0=; fh=oihKA6xMYaGdlEFUTcBttL4K8C0u1dUyRon93tG6mI0=; b=MVWXTRLyHz5e6t2QuNoVol/rkvG2pemWiwfYhI9WApn6SBPG8HXUUHRX4xAEdKvG9v nGjW2ecN2GS0Kg7K7KPpZeEFjB9IM5uA8rk1Jav17oN7RT5ztJNp+mb49AtK8AyvrG4S gVcroUwwaXL+Q0zuDsIBW178EtRJK/E2G8LkIEbraM/i5C12yfa+kFch9g01mR3HKynN 6A5G+byIPoF4i/q+Mh2Rp1RykgoFifgeNsr+xTEOaSSI1/LdLoTIWJ3rLQehB2nJBvon 4+fqJbT3udn35fO9/+KdeqhL/t7a8pGZYVel5TE9Yp4w3rMsCVHRsS2GAIzFPn/7TO1Y zU1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=COPEnmpp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d6-20020a05620a204600b0078a0759f66esi9725803qka.69.2024.04.01.08.38.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 08:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=COPEnmpp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4676F1C20A90 for ; Mon, 1 Apr 2024 15:38:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8307482D1; Mon, 1 Apr 2024 15:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="COPEnmpp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED332481DD; Mon, 1 Apr 2024 15:37:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711985880; cv=none; b=XQqfo3cEW/GHI7TC/8WFb3Sg0oDNToqTqM38TbdKtxF9199Dq0YKx+tSJB5sqwkvVjquBub/uCaRxsW0jK67DWt/cv11fYoZhvVlO3H8Nb9cYw5ANLP2NROCFykWZacYMvIlQ+oey/hHuF3GRdTqONRcpdk/Q5x6P3p+v7HI4i0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711985880; c=relaxed/simple; bh=2dxQqozF58q05bPixhJfo04L2CdUFTnvt6KKOQGg51s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PtWd5ESzLn8pm/DaS7EBDc1MihQj5PsIxskDK9rtZf1R+l6bDmaYntsQd/8iQqxIAo7JFM10V97usE9evDPpuojE2MJes1TqdsDQksAJ9lN9Nfz9yPDupOgX/luK26395p0nYhPphIEp7m3pCf0PqiFCqOPbIIjrBIHse1El90U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=COPEnmpp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40E78C433F1; Mon, 1 Apr 2024 15:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711985879; bh=2dxQqozF58q05bPixhJfo04L2CdUFTnvt6KKOQGg51s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=COPEnmppa5euyg4K3SJ2tAh0X2rEaMRzxTCogjOdAP/L5oiI0qUwTE40u6WQ3zxpt LnRowOnBmanYHw/pp+AQUILVpbmROJBOkwC35uwwbDWNRPVAQk0T2PH4V1P8P4FTEr LWnbHnruJSoaoIZD7/vLQhK8O8/vbNjlXzFx3a2B31Ag9FAG8xwiiIc5I/AANjz5lz SPnYD6E+6pQw69RFXHzfW78a3V2pkHntZWCB21M/ILAoVf0daci8IW5ky7wmLaPT/v Tjygq8pC5MfRQ8o8kISoIrMnFPQCLaiNeLUnzSLn1fmUNb7azO69Dd0bU8OEOcnyk7 52XTYGLsEEYmA== From: Krzysztof Kozlowski To: Conor Dooley , Nicolas Ferre , Claudiu Beznea , Rob Herring , Krzysztof Kozlowski , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, "David S. Miller" , Bjarni Jonasson , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 03/10] arm64: dts: microchip: sparx5_pcb134: add missing I2C mux unit addresses Date: Mon, 1 Apr 2024 17:37:33 +0200 Message-Id: <20240401153740.123978-3-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240401153740.123978-1-krzk@kernel.org> References: <20240401153740.123978-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address. This fixes dtbs_check warnings like: sparx5_pcb134_emmc.dtb: i2c0-imux@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c_sfp1', ... and dtc W=1 warnings: sparx5_pcb134_board.dtsi:548.23-555.4: Warning (simple_bus_reg): /axi@600000000/sfp-eth12: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- .../dts/microchip/sparx5_pcb134_board.dtsi | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi index f3e226de5e5e..e816e6e9d62d 100644 --- a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi @@ -427,62 +427,62 @@ &i2c0_imux { pinctrl-10 = <&i2cmux_10>; pinctrl-11 = <&i2cmux_11>; pinctrl-12 = <&i2cmux_pins_i>; - i2c_sfp1: i2c_sfp1 { + i2c_sfp1: i2c@0 { reg = <0x0>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp2: i2c_sfp2 { + i2c_sfp2: i2c@1 { reg = <0x1>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp3: i2c_sfp3 { + i2c_sfp3: i2c@2 { reg = <0x2>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp4: i2c_sfp4 { + i2c_sfp4: i2c@3 { reg = <0x3>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp5: i2c_sfp5 { + i2c_sfp5: i2c@4 { reg = <0x4>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp6: i2c_sfp6 { + i2c_sfp6: i2c@5 { reg = <0x5>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp7: i2c_sfp7 { + i2c_sfp7: i2c@6 { reg = <0x6>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp8: i2c_sfp8 { + i2c_sfp8: i2c@7 { reg = <0x7>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp9: i2c_sfp9 { + i2c_sfp9: i2c@8 { reg = <0x8>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp10: i2c_sfp10 { + i2c_sfp10: i2c@9 { reg = <0x9>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp11: i2c_sfp11 { + i2c_sfp11: i2c@a { reg = <0xa>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp12: i2c_sfp12 { + i2c_sfp12: i2c@b { reg = <0xb>; #address-cells = <1>; #size-cells = <0>; @@ -495,42 +495,42 @@ &gpio 60 GPIO_ACTIVE_HIGH &gpio 61 GPIO_ACTIVE_HIGH &gpio 54 GPIO_ACTIVE_HIGH>; idle-state = <0x8>; - i2c_sfp13: i2c_sfp13 { + i2c_sfp13: i2c@0 { reg = <0x0>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp14: i2c_sfp14 { + i2c_sfp14: i2c@1 { reg = <0x1>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp15: i2c_sfp15 { + i2c_sfp15: i2c@2 { reg = <0x2>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp16: i2c_sfp16 { + i2c_sfp16: i2c@3 { reg = <0x3>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp17: i2c_sfp17 { + i2c_sfp17: i2c@4 { reg = <0x4>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp18: i2c_sfp18 { + i2c_sfp18: i2c@5 { reg = <0x5>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp19: i2c_sfp19 { + i2c_sfp19: i2c@6 { reg = <0x6>; #address-cells = <1>; #size-cells = <0>; }; - i2c_sfp20: i2c_sfp20 { + i2c_sfp20: i2c@7 { reg = <0x7>; #address-cells = <1>; #size-cells = <0>; -- 2.34.1