From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDFE5C433DB for ; Thu, 18 Feb 2021 01:43:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3FBE64E42 for ; Thu, 18 Feb 2021 01:43:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3FBE64E42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Date:To:From: Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Jr+T6VZ86lKP81K+tyQS19UTj4gqiEvJPJoBfY7PJzM=; b=GgccEkvEqcHDr/NmjmxbLJzZ4 I7Jhm65GRgJpGxTZ5V51jgdeNFg72z+VkFZHP8dVOUj7tnSgsHInG3MDlu0800i8X45H9R/e7mCKr rvAlPQ8MVrP3khLHh5EGxR+hSs9Gr/dnX/cJjmY5Dngc7V4bCi0So7Iea9Q6/ciO0Rm7SCb62YfCW hZCTeK9oDV7by4P3Niz/QRI33rBp/HXV1HlxqOfpLoIzoxs00pu+CNaGAJCc7iAeAYwOX3JEu7rkS 0ykTUTm4KqLCS7zS++EkcmSgkYHn/kYnePeazOgxkZ1H4aSnLQbSHGmAgbvsQmfq5AMkYVKWfPdck gc+HUjM5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCYJz-0006ZW-C4; Thu, 18 Feb 2021 01:41:36 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCYJr-0006Vu-QC; Thu, 18 Feb 2021 01:41:29 +0000 X-UUID: bdb855ac0a79493dacc7592a7132e28a-20210217 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=nbF4wbalY0JXdc0UwJETh2U33tD0jpNmlPwbPg2Vadc=; b=Js8BPCGITmDWf8qF9u0GRVdtVdfmg5vEI+onqsh6ADKqcozBwtF7bzsjiIOpipN3Q6TwTWlpd3CECAQIrqeLyNmKYqzOwMmCDiO+HaH/C69luG8+zx6HyaBg7V0a1Sv97UufqMrz86uTQ7/GKaG/eyaTE8mVdO/w7lnRonhfbTE=; X-UUID: bdb855ac0a79493dacc7592a7132e28a-20210217 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1823779710; Wed, 17 Feb 2021 17:41:25 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 17 Feb 2021 17:40:29 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 18 Feb 2021 09:40:27 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 18 Feb 2021 09:40:28 +0800 Message-ID: <1613612428.10714.12.camel@mtksdaap41> Subject: Re: [PATCH v6 01/22] dt-bindings: ARM: Mediatek: Add new document bindings of imp i2c wrapper controller From: Weiyi Lu To: Matthias Brugger Date: Thu, 18 Feb 2021 09:40:28 +0800 In-Reply-To: <010e346c-961b-88bb-aa48-398b23a7fb7a@gmail.com> References: <1608642587-15634-1-git-send-email-weiyi.lu@mediatek.com> <1608642587-15634-2-git-send-email-weiyi.lu@mediatek.com> <010e346c-961b-88bb-aa48-398b23a7fb7a@gmail.com> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_204128_069021_2E51D505 X-CRM114-Status: GOOD ( 22.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Nicolas Boichat , srv_heupstream@mediatek.com, Stephen Boyd , linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 2021-02-10 at 13:19 +0100, Matthias Brugger wrote: > > On 22/12/2020 14:09, Weiyi Lu wrote: > > This patch adds the new binding documentation of imp i2c wrapper controller > > for Mediatek MT8192. > > The wrapper controller has only clock parts, or are the clock register mapped > into the i2c wrapper block. In that case we might want to probe the clock driver > through the i2c wrapper driver. > > Regards, > Matthias > Yes, the clock registers are mapped into partial of the i2c wrapper block. AFAIK, the i2c wrapper works with the i2c driver(i2c/busses/i2c-mt65xx.c) but not a new driver. So do you still suggest us to probe the clock driver through the i2c driver(i2c/busses/i2c-mt65xx.c) just like the mtk-mm driver? > > > > Signed-off-by: Weiyi Lu > > --- > > .../arm/mediatek/mediatek,imp_iic_wrap.yaml | 78 ++++++++++++++++++++++ > > 1 file changed, 78 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imp_iic_wrap.yaml > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imp_iic_wrap.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imp_iic_wrap.yaml > > new file mode 100644 > > index 0000000..5d0cf37 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imp_iic_wrap.yaml > > @@ -0,0 +1,78 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/arm/mediatek/mediatek,imp_iic_wrap.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: MediaTek IMP I2C Wrapper Controller > > + > > +maintainers: > > + - Weiyi Lu > > + > > +description: > > + The Mediatek imp i2c wrapper controller provides functional configurations and clocks to the system. > > + > > +properties: > > + compatible: > > + items: > > + - enum: > > + - mediatek,mt8192-imp_iic_wrap_c > > + - mediatek,mt8192-imp_iic_wrap_e > > + - mediatek,mt8192-imp_iic_wrap_s > > + - mediatek,mt8192-imp_iic_wrap_ws > > + - mediatek,mt8192-imp_iic_wrap_w > > + - mediatek,mt8192-imp_iic_wrap_n > > + - const: syscon > > + > > + reg: > > + maxItems: 1 > > + > > + '#clock-cells': > > + const: 1 > > + > > +required: > > + - compatible > > + - reg > > + > > +examples: > > + - | > > + imp_iic_wrap_c: syscon@11007000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_c", "syscon"; > > + reg = <0 0x11007000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + > > + - | > > + imp_iic_wrap_e: syscon@11cb1000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_e", "syscon"; > > + reg = <0 0x11cb1000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + > > + - | > > + imp_iic_wrap_s: syscon@11d03000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_s", "syscon"; > > + reg = <0 0x11d03000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + > > + - | > > + imp_iic_wrap_ws: syscon@11d23000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_ws", "syscon"; > > + reg = <0 0x11d23000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + > > + - | > > + imp_iic_wrap_w: syscon@11e01000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_w", "syscon"; > > + reg = <0 0x11e01000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > + > > + - | > > + imp_iic_wrap_n: syscon@11f02000 { > > + compatible = "mediatek,mt8192-imp_iic_wrap_n", "syscon"; > > + reg = <0 0x11f02000 0 0x1000>; > > + #clock-cells = <1>; > > + }; > > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel