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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ACCFFCF6497 for ; Mon, 30 Sep 2024 05:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zasI9d4EFSlQDUt9pveMHKbUWNguU0pHqIbERcEhkJU=; b=tr4zLBUmiPBWNGscBMekC1NJsA fvdoJO9UUn9xaplpq7c84QWpeC4m1cxnx+52M4kKSdD1l8SiVCg//jEZMlUAb+OmLjnB+qcKlNycW Z9PJvQhaLEpgkFFVrdAZs0FmTWsGXKMGXn6NmPA8itEsHdLvr7NaZkC3lW9LMi9rng2JKVM1mTPic f0rIPwGnDSGTkkOt5Zyl8nj9eiYSCz0dH8LFUcraTg9cih7pYNQZk69FkkJSNIyfaIy3opoyIL9vK lTHThgMHjEg3huHp9ptteQ45HiA4A693GngNSutDQBaXhgge0eQ52yHNihm4Ohe/S7JPjvhA53wzM DdN3TkGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sv9Ci-0000000G0WP-0PJS; Mon, 30 Sep 2024 05:44:16 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sv9B3-0000000G00Q-2BYK; Mon, 30 Sep 2024 05:42:35 +0000 X-UUID: c58b9de47eee11efba0aef63c0775dbf-20240929 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date:Message-ID; bh=zasI9d4EFSlQDUt9pveMHKbUWNguU0pHqIbERcEhkJU=; b=R3mDzn0OYfxLm0AkkHg1z4tDuUqHPLUTLU8pfof9/DgJ/CNlLgec43/P8q6N4k1JfUhnkhNkX3GixRnAqxpXGvG3Z6ieMrCImr/Eh6qWYf6aZALIGV7Ikrx2B+NIEAaCYzAFqxou4AyrbHlnCM1YmmZpYegPAzjG9c5Ta/rHQJg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.41,REQID:fd5ee8bb-12e7-4de0-b3cf-2e11e34300ba,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6dc6a47,CLOUDID:69daf8d0-7921-4900-88a1-3aef019a55ce,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0|-5,EDM:-3,IP:ni l,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: c58b9de47eee11efba0aef63c0775dbf-20240929 Received: from mtkmbs09n2.mediatek.inc [(172.21.101.94)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1695470508; Sun, 29 Sep 2024 22:42:25 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 30 Sep 2024 13:42:22 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 30 Sep 2024 13:42:21 +0800 Message-ID: Date: Mon, 30 Sep 2024 13:42:19 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 2/3] dt-bindings: mfd: mediatek: mt6397: add compatible for mt6359-codec Content-Language: en-US To: Krzysztof Kozlowski CC: Conor Dooley , Sen Chu , Sean Wang , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Eason Yen , Jiaxin Yu , Shane Chien , Hui Liu , , , , , , , Alexandre Mergnat , Bear Wang , Pablo Sun , Macpaul Lin , Chris-qj chen , MediaTek Chromebook Upstream , Chen-Yu Tsai References: <20240926092519.6556-1-macpaul.lin@mediatek.com> <20240926092519.6556-2-macpaul.lin@mediatek.com> <20240926-smokeless-clobber-0fb8a1cdc7ab@spud> <78381b10-eae6-1414-6913-994e1ed03410@mediatek.com> From: Macpaul Lin In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240929_224233_611315_EFE6DF05 X-CRM114-Status: GOOD ( 22.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/27/24 17:42, Krzysztof Kozlowski wrote: > > > External email : Please do not click links or open attachments until you > have verified the sender or the content. > > On Fri, Sep 27, 2024 at 03:57:58PM +0800, Macpaul Lin wrote: >> On 9/27/24 00:04, Conor Dooley wrote: >> > On Thu, Sep 26, 2024 at 05:25:18PM +0800, Macpaul Lin wrote: >> > > This patch updates the audio-codec properties includes: >> > > - compatible: >> > > - Re-order the supported device items. >> > > - Add 'mt6359-codec' to compatible since MT6359 PMIC has been included >> > > in this DT Schema. >> > >> > > - Set 'additionalProperties: true' for 'mt6359-codec'. >> > >> > Why? >> >> The mt6359-codec support these 3 properties: >> mediatek,mic-type0, mediatek,mic-type-1, mediatek-mic-type2. >> While mt6358-sound and mt6397-codec don't (at least, I didn't find >> these 3 properties in driver codes. >> >> Set 'additionalProperties: true' is also required to fix the following >> dtbs_check errors: >> pmic: audio-codec: 'mediatek,mic-type-0', 'mediatek,mic-type-1', >> 'mediatek,mic-type-2' do not match any of the regexes: >> 'pinctrl-[0-9]+' > > Why is this a correct fix? Aren't you allowing "pink-pony" property as > well? > >> >> > > >> > > Signed-off-by: Macpaul Lin >> > > --- >> > > Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml | 5 +++-- > > There is no such file. > > Best regards, > Krzysztof > This patch is no longer necessary. I'm working on a new fix (v7) for 'Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml' and try to rid of these mess in audio-codec node. Thanks Macpaul Lin