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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=ham 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 A50BAC43461 for ; Tue, 15 Sep 2020 06:03:44 +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 2B338206B2 for ; Tue, 15 Sep 2020 06:03:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PDET90wG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="nmpAc5EK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B338206B2 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=DJs7fKn5buoyJV/7EUVoo1bYygZOY/1HnEmJO0fdi+U=; b=PDET90wGorRsgjNyzA9Cprc/u k4j37gVNsHlaTKNzXs42pFecU+ylLMpeDnqWHJmMKgXGEk1QQPmp8jUGEJRI21S0sKU/Ojm04Xpnx R4UQo1cqAEt79JJAOlsfv0Q+ipbADFpKiInmNuRKNLKFDj6pT03XImD51MRXmii3Bf7gCbNEDVe6V qZ7yfO48El5ZsI/X+WpR+hmfWvzSD3JIFtV43zZfvQFfXAScMj6LbXMeOcMt95XUrrqcoKPWsXZBL WcKMXuBRGXjPlWatAFjFO54HZM8nEdgOn/5TirP8hcy6L8nHDLteoaZG3liUTItywZUcClWlrdNFN 093/I1FJg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI42g-0004ve-GA; Tue, 15 Sep 2020 06:02:14 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI42e-0004v6-2e; Tue, 15 Sep 2020 06:02:13 +0000 X-UUID: 601f62e5c7e34a768bec05f0de239c85-20200914 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=7TyzYnNnuHx6SNq8ViyS5YlncO0DkL6/ccYuDYtvhdI=; b=nmpAc5EKv0qaJixZXNRHgewAvtiGQNtPGPPnZeTkAzPQLHx/vDqBJ7bFgftxyALPD+EfepsMpcf+IOIeq6NdNfAgqLjs5rK/PhvO1f8MIM+0XnSWprfn4kgbRZ1y4V2U0aula2k9sCZDjQ+rF2jXP9/Q8wUXGAU8Jb7NHxH4JXs=; X-UUID: 601f62e5c7e34a768bec05f0de239c85-20200914 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 462311863; Mon, 14 Sep 2020 22:02:07 -0800 Received: from MTKMBS31DR.mediatek.inc (172.27.6.102) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 14 Sep 2020 22:57:09 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Sep 2020 13:57:06 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 15 Sep 2020 13:57:06 +0800 Message-ID: <1600149301.25043.17.camel@mhfsdcap03> Subject: Re: [PATCH v2 02/23] dt-bindings: memory: mediatek: Convert SMI to DT schema From: Yong Wu To: Rob Herring Date: Tue, 15 Sep 2020 13:55:01 +0800 In-Reply-To: <20200914232345.GA465583@bogus> References: <20200905080920.13396-1-yong.wu@mediatek.com> <20200905080920.13396-3-yong.wu@mediatek.com> <20200914232345.GA465583@bogus> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: F0B44B45969F81D8D7A3A71A4A0A1C136FDDE0730FA3C551C17876F4581648A22000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_020212_333115_ADC3FD86 X-CRM114-Status: GOOD ( 15.69 ) 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: youlin.pei@mediatek.com, devicetree@vger.kernel.org, Nicolas Boichat , srv_heupstream@mediatek.com, chao.hao@mediatek.com, Robin Murphy , Joerg Roedel , linux-kernel@vger.kernel.org, Evan Green , Tomasz Figa , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski , Matthias Brugger , ming-fan.chen@mediatek.com, anan.sun@mediatek.com, Will Deacon , 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 Mon, 2020-09-14 at 17:23 -0600, Rob Herring wrote: > On Sat, Sep 05, 2020 at 04:08:59PM +0800, Yong Wu wrote: > > Convert MediaTek SMI to DT schema. > > > > Signed-off-by: Yong Wu > > --- > > .../mediatek,smi-common.txt | 49 ---------- > > .../mediatek,smi-common.yaml | 96 +++++++++++++++++++ > > .../memory-controllers/mediatek,smi-larb.txt | 49 ---------- > > .../memory-controllers/mediatek,smi-larb.yaml | 85 ++++++++++++++++ [...] > > + mediatek,smi: > > + $ref: /schemas/types.yaml#/definitions/phandle-array > > + description: a phandle to the smi_common node. > > + > > + mediatek,larb-id: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: the hardware id of this larb. > > + Required property for mt2701, mt2712, mt6779 and mt7623. > > Is there a set of valid values? In the patch[4/23], I change the larb_nr to 32. normally this id is from 0 to 31. I will add this in next version: minimum: 0 maximum: 31 > > > + > > +required: > > + - compatible > > + - reg > > + - clocks > > + - clock-names > > + - power-domains > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + #include > > + > > + larb1: larb@16010000 { > > + compatible = "mediatek,mt8173-smi-larb"; > > + reg = <0x16010000 0x1000>; > > + mediatek,smi = <&smi_common>; > > + power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>; > > + clocks = <&vdecsys CLK_VDEC_CKEN>, > > + <&vdecsys CLK_VDEC_LARB_CKEN>; > > + clock-names = "apb", "smi"; > > + }; > > + > > -- > > 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel