Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp988283rwl; Fri, 31 Mar 2023 05:24:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Y7eKOjCSj4jCbOSO+NDybqpaQ9uwBVoZpjWz8riSxPDG7SYP+IR3Sp3bHHIAcEEqjm3R5c X-Received: by 2002:a17:906:74c6:b0:8f0:ba09:4abe with SMTP id z6-20020a17090674c600b008f0ba094abemr5022102ejl.2.1680265490057; Fri, 31 Mar 2023 05:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680265490; cv=none; d=google.com; s=arc-20160816; b=gWXh41oYqA6FxOXZPt8NPvOWpkWMayusD50Hq2p2joWr227i41af/FL9qkADMuLUUF AsKv1CVQ18ySEg4ywwVv1Pq3t0nCLdQt0RQwbP+q6q3A/1SeKokGTVV4eqvIh2R3Q3oC Ue7YaTudZvsB2S4a9Nf9/76J7Di+aMv2WrNWOsyrlXcB3YcvbJXE/PGuhqWqVmAwZ/ZV cIpe0M0ZALZeyJnM02H+aXn93eMv3zblC5N8hzsNq/SEQB1F68fX0CFR/CskOrT4mkGp hmwYha0JpXLxJgZvHE6jJVu44aSnihz/Ry2BFqn4e8bm+lmKkyeRrdGF3/Y3gLaNKdod bcQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Erj+LpG9U9tgf75fYxXUx/4AP5Lrz3YtH2NJWnrUADc=; b=g+EM5iHqp+5NeK40iGRl3JPHYy53HnZVO35QHy7mZNs8utwYWokrDLLWNvLyWNtG/S BP9PM8BYbJudQqgVLmH0+AkDBUv/+PVq4vtFXx3VTBQ8H9Rz4mU/1vPzjw3topPoq2Dn hG1Q5lM8KObDDoBtqyOl7ErF6HTWpnC6EJT8n1rrogLi6Vs/HXRF1hJrq/gp6JAjf1FO mhq7N313BGWGjBZBf4sS+M2pqsBvDA5stD8c41/ygvMzq9RQTchyJKO+UaJ6KIMmdBzF QWDhaITMGjh6b5Kpw/uyl/0hnXTD8YSKknD80j/WUCdaCuod8sW3KmKKSLzNTR7bYFyY QbKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=6PPQNQ38; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tg9-20020a1709078dc900b0094798d753fcsi1859128ejc.539.2023.03.31.05.24.25; Fri, 31 Mar 2023 05:24:50 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=6PPQNQ38; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232272AbjCaMYC (ORCPT + 99 others); Fri, 31 Mar 2023 08:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232201AbjCaMX7 (ORCPT ); Fri, 31 Mar 2023 08:23:59 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C7081F786 for ; Fri, 31 Mar 2023 05:23:37 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5456249756bso411470607b3.5 for ; Fri, 31 Mar 2023 05:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680265413; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Erj+LpG9U9tgf75fYxXUx/4AP5Lrz3YtH2NJWnrUADc=; b=6PPQNQ38F2taYSfQU9v2DEAamsnh/Lbnu/amvdM8KrjKWByBjQNFRumzgQ6bFTIVcg oqM5cD5GzvtXrq4QKgf0QR24wLthmKi0vHGjsw7wNe07GZf/AhV6wtCJUS2GRKa0Dkm9 ogGQtK1Pk3rw0HafvOpbT74mY8725/u7lOPfbjAFImHmsYNBQ8RthlKUhiV6qC5Zt8VK azNKQnT7w+QKvkD1bLLpQvJ0w7Q28641njy0RIuooeWVVJvGVyRnUJxVXHIysYuHG4Yi PcFfn6mUu+gLGO67975HLvFAQRxLXxZefnMgkFzwdKxaeJZERKx0YzsJbzsVX2r/R/D2 gbcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680265413; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Erj+LpG9U9tgf75fYxXUx/4AP5Lrz3YtH2NJWnrUADc=; b=Imkt2eynp8Z0kQ66RqPi1llsjEk0SyLEgZXKwcI5w1026aSyPmCskuL8MhdnWgfChp oWzsJ/tmvU/HhfNd8lZEGdHvGpDtqQ5KiSKZ7DbqVbCptaybqT66lntB96JEl8wj/unD +w+iZaoXYNDN8x5ekiZfrnCm2Kf396EqNMuXSJVXi0IZNtysHd2M8wgmboO6jSylsKFo ah11EkOKGAzzaKDBVRhnmE/CK+LytUIwoLLljcDydKPve+Llr33N//bYHsGqJOwJi63J ntg8GyqF0q7zD25H0Gs6xj+xDmbsbVTuFHOPvOgePYKuUZD6JiFA7Sy55WW4d1rnitXi V8sg== X-Gm-Message-State: AAQBX9c6hLuxSQ4+swpdb0sMaI61eHBxsYNJZxRi7YXbk7TY1nb/SSEd EUpHSUW5SsJZCOgHtY5nKkx8DFHzdWdNP6PX/YLtBg== X-Received: by 2002:a81:ad5d:0:b0:540:e744:13ae with SMTP id l29-20020a81ad5d000000b00540e74413aemr12502859ywk.3.1680265413041; Fri, 31 Mar 2023 05:23:33 -0700 (PDT) MIME-Version: 1.0 References: <20221122-mt8365-i2c-support-v6-0-e1009c8afd53@baylibre.com> <20221122-mt8365-i2c-support-v6-2-e1009c8afd53@baylibre.com> <945d8a82-80b3-8ae2-3b2a-7011621ad8d9@collabora.com> In-Reply-To: From: Alexandre Mergnat Date: Fri, 31 Mar 2023 14:23:21 +0200 Message-ID: Subject: Re: [PATCH v6 2/2] arm64: dts: mediatek: enable i2c0 for mt8365-evk board To: Matthias Brugger Cc: AngeloGioacchino Del Regno , Qii Wang , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Fabien Parent , Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Thanks Angelo and Matthis for your time ! Alex Le jeu. 30 mars 2023 =C3=A0 19:14, Matthias Brugger a =C3=A9crit : > > > > On 28/03/2023 12:04, AngeloGioacchino Del Regno wrote: > > Il 28/03/23 11:04, Alexandre Mergnat ha scritto: > >> Enable the I2C0 bus provides communication with: > >> - The integrated RT9466 Switching Battery Charger. > >> - The integrated MT6691 LP4X buck for VDDQ. > >> - The integrated MT6691 LP4X buck for VDD2. > >> - The pin header, to plug external I2C devices. > >> > >> Signed-off-by: Alexandre Mergnat > >> --- > >> arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 15 +++++++++++++++ > >> 1 file changed, 15 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > >> b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > >> index 4683704ea235..adc79ba14b33 100644 > >> --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > >> +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > >> @@ -87,6 +87,13 @@ optee_reserved: optee@43200000 { > >> }; > >> }; > >> +&i2c0 { > >> + clock-frequency =3D <100000>; > >> + pinctrl-0 =3D <&i2c0_pins>; > >> + pinctrl-names =3D "default"; > >> + status =3D "okay"; > >> +}; > >> + > >> &pio { > >> gpio_keys: gpio-keys-pins { > >> pins { > >> @@ -96,6 +103,14 @@ pins { > >> }; > >> }; > >> + i2c0_pins: i2c0-pins { > >> + pins { > >> + bias-pull-up; > > > > I prefer seeing pinmux first, any other properties last.... > > If Matthias can please fix that while applying... > > > > Done and queued the whole series. > > Thanks! > Matthias > > > Reviewed-by: AngeloGioacchino Del Regno > > > >