Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp314099imn; Fri, 1 Jul 2022 16:01:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ukkpX3Vm6tdLrEGrg6DuyM2z++d2yP0qBO36nE/VYIjY7jRGtwvF+ysrh06hK3/pPnZ6s+ X-Received: by 2002:a17:907:a088:b0:726:db8d:281f with SMTP id hu8-20020a170907a08800b00726db8d281fmr16494193ejc.601.1656716490028; Fri, 01 Jul 2022 16:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656716490; cv=none; d=google.com; s=arc-20160816; b=TRoK1DnzHDCc8coZzVkr99xxTx59nXp6KlmJP225XgkQd2NzzYLcSPlugHvs7GuXyz i0WgiBZzVxgd88G1Oj3MEQ1cOTHrqKDg1YnPBqxUg1aeUGknwGd3vI4pnvz9+Cpv2f0Z hXYiYfsWQK6oeQMfwtU8q6+0zTiSWxRcIwwcghmmj5Tgd/zy2M64039hU7D4bI83qRGl h/nOoZh2+4ZyBix5U+XHHmyhqPQAS0V4ZIq6PejxoF7zLsoS+3igzjnqz+eBzwI4qCPm WYy4dcmMGxE3blyLP7EwNPUGOGvtu2Is5RVYXi2pljz+tzj99ELYibDsFVkxECh05ZwB v+7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qFjRzJfmZP+57GP3KeKxWOB59/a+DPQ/7bBKGHjOQa8=; b=J6Tkgtm16185NVO+hv5yydBqihwpXUkvDja1+lHL/eBJggnBb1e49cK1gSRAUoYYTf gTNGEHXSYwA1DQ6/Zjc7aVJGU9W/OPqFrcC8MW2F5Y+5ZhapmgWLFDb0sa1qTMGA10wO r1WbNBBzaA5SwbUNv9EjlW1wlMiv32S7DwAY4dLG2Bz1cnQMVXVPaOM1krFgT3ut0Shp GhZP1bu0KfTIHiUyYzKrnv9c5IPppdXU6MMapMspfXiEIO6QUADlraHj6xkuy+lC6yew DFppwQOyPxdtNs14lttXpMVmKrl3d7P932WNgyUB6RFj97jNNO72ap8sD7rnFhlpAJL4 G+6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CAtv26Rs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a170906b28500b0071de916293csi2056424ejz.617.2022.07.01.16.01.00; Fri, 01 Jul 2022 16:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CAtv26Rs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231895AbiGAWmw (ORCPT + 99 others); Fri, 1 Jul 2022 18:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231776AbiGAWmv (ORCPT ); Fri, 1 Jul 2022 18:42:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF48970E7C; Fri, 1 Jul 2022 15:42:50 -0700 (PDT) Received: from notapiano (unknown [194.36.25.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 82EE666017F5; Fri, 1 Jul 2022 23:42:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656715369; bh=4vl93FTFjxxc3xIXFjEIYVlIvv8NLDkDY4yTRtBdznM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CAtv26Rs0ziY74EhKPnnIdlH1f0MYN7fSA5TB5hms81a1JjkAIyTQaPs44n9t4GMX U62FjY/6hEvISXnyYC8Y0QaxCaHkJt2kcp2QnwqRX0VfxyUa3gG5klo68Pr9GUi41b Qw4AMtWKmOljBrZE7T4/WG5MFGZcTjX7Xi0gxZB2jqOAv8NSoTcaVVB4msWzrRuAwW +v9y9zPAMorexekg5Id3SVJ1cezUN49M1o4HzPDVxg7EvivaJp3aHnGpe9w5eCv5V7 bKPIcLLm+wFUqnk+ObYcCuKm0fk3yJs825G757bEjGNBUuN6d16QbiY9E1cuuLWTxs PfuOu+J8eCySQ== Date: Fri, 1 Jul 2022 18:42:39 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: AngeloGioacchino Del Regno Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, hsinyi@chromium.org, allen-kh.cheng@mediatek.com, gtk3@inbox.ru, luca@z3ntu.xyz, sam.shih@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wenst@chromium.org Subject: Re: [PATCH 07/11] arm64: dts: mediatek: cherry: Enable I2C and SPI controllers Message-ID: <20220701224239.n3o4ofzsnvpbdytg@notapiano> References: <20220630153316.308767-1-angelogioacchino.delregno@collabora.com> <20220630153316.308767-8-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220630153316.308767-8-angelogioacchino.delregno@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 30, 2022 at 05:33:12PM +0200, AngeloGioacchino Del Regno wrote: > This platform uses eight I2C controllers and one SPI controller: > in preparation for enabling devices attached to these controllers, > add basic configuration to enable the busses. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../boot/dts/mediatek/mt8195-cherry.dtsi | 150 ++++++++++++++++++ > 1 file changed, 150 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi > index 2f70341bba91..23a86d07274c 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi > @@ -9,6 +9,13 @@ > > / { > aliases { > + i2c0 = &i2c0; > + i2c1 = &i2c1; > + i2c2 = &i2c2; > + i2c3 = &i2c3; > + i2c4 = &i2c4; > + i2c5 = &i2c5; > + i2c7 = &i2c7; > mmc0 = &mmc0; > serial0 = &uart0; > }; > @@ -88,6 +95,65 @@ ppvar_sys: regulator-ppvar-sys { > }; > }; > > +&i2c0 { > + status = "okay"; > + > + clock-frequency = <400000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c0_pin>; Very nitpicky: you could name it "i2c0_pins" to be consistent with the others (including SPI on this patch). > +}; [..] > +&i2c7 { > + #address-cells = <1>; > + #size-cells = <0>; These *-cells are already defined in the parent dtsi, so drop. Reviewed-by: N?colas F. R. A. Prado Thanks, N?colas