Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3370069pxk; Mon, 7 Sep 2020 10:54:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2DrLw6eyARMZwcv9lbWMN6/shC2ax+DivZJ577V87I7lmlzd95Oc62OKek7vVDFapYWBq X-Received: by 2002:a05:6402:1819:: with SMTP id g25mr22132292edy.292.1599501292048; Mon, 07 Sep 2020 10:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599501292; cv=none; d=google.com; s=arc-20160816; b=kD9UVT7n0GEgWbdpGk7Fy5NvPzJhmVwpDKDpNx5DIFDwWVLHIWkhtUnZJBcZOvpuRR dcNmEVAa6+fR+BAddaOgk2bWHNl02qXMNWZFfZ6UkATl/eFFyHx8Iyg+O9ULw7pohVwf bFouQu4GZpP5MJZBDEqZmNqzXO0wCBPJSaXcaN6HK+T+ORoH2c74QQINNkQ7CmjCQO2y iin7xJvdoLuVl+4bMjK67gGARIkxEKIbbIM3NK9b/VUPOYL8mb8q4xNXzmrI2lwn+nIE /RJhLoYdrnxf31ZYsZklQythvFpy3YFwN6r9Jr6G+f84jEnZB0kh94ERrS0DHC2MeT5T h9Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=x2KerJxtz3+uwi0J+tyq39L3M0HjK5HicFMqNX2sQfk=; b=CGL6RzlgIIX7tUD20TpQX+FW9lDuisf3aZUDDGqmqgWKOtRVjWyN5PCneyedo3XsRN jDjBmlQvGZnmlnURLNYFZEbgrQQghGxK//XMwh1biPow35i0hEg4otn0eTi04uwb+Avx uAwGGIa5aVYv9fZqSTTkRtBg7l4zy5AwbVhcdSjEHCFw1Rrynb6VxB1I28BlbcaZ0Qzy +M+Um/3BCNC6MAg0uFi5vqqT+M9kYGOI+kyuk9e4AVVYgpEondLanOBx3cSm/+f3PwEC YqkhJxu4ob3Bt9migDGrym6bmxJUGKqytcuR7si3pfWVeT/OS33y+WQAQK52ex3kdlB4 QjCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v5Kb6di9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si10361054eju.153.2020.09.07.10.54.29; Mon, 07 Sep 2020 10:54:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v5Kb6di9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729400AbgIGRvt (ORCPT + 99 others); Mon, 7 Sep 2020 13:51:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:55324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729212AbgIGRvo (ORCPT ); Mon, 7 Sep 2020 13:51:44 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 47F3E2080A; Mon, 7 Sep 2020 17:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599501103; bh=YMxZ0LBQubRWUql8kN4D8NLNlVpvgs2xsR5mya0rxqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v5Kb6di9323FGcnbwasyBMt/IV3HEFuAzbUF+APrbb0SwX1Vz8+6BIvEfNG1YP0Sn 4Yyl9nTx4dUPvO6OfOBYrJ1/CQ6/Pxtf7VpWZ80gfFV/2K0iRzWwK1P8y5E1vPxDz7 L+SR/HeAepqOnh9a29zkFo5IyF4a3NjkhA+slzaE= Date: Mon, 7 Sep 2020 18:50:59 +0100 From: Mark Brown To: Tzung-Bi Shih Cc: Jiaxin Yu , Matthias Brugger , Rob Herring , Takashi Iwai , Linux Kernel Mailing List , ALSA development , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, howie.huang@mediatek.com, eason.yen@mediatek.com, shane.chien@mediatek.com, bicycle.tsai@mediatek.com Subject: Re: [PATCH v5 2/2] dt-bindings: mediatek: mt6359: add codec document Message-ID: <20200907175059.GD4907@sirena.org.uk> References: <1597644455-8216-1-git-send-email-jiaxin.yu@mediatek.com> <1597644455-8216-3-git-send-email-jiaxin.yu@mediatek.com> <20200819103730.GB5441@sirena.org.uk> <20200819194005.GC38371@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eqp4TxRxnD4KrmFZ" Content-Disposition: inline In-Reply-To: X-Cookie: Elevators smell different to midgets. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --eqp4TxRxnD4KrmFZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 07, 2020 at 09:37:12PM +0800, Tzung-Bi Shih wrote: > On Thu, Aug 20, 2020 at 3:40 AM Mark Brown wrote: > > That's for binding the MFD subdevice to an OF node, you don't need to do > > that for a device like this - you can just use the of_node of the parent > > to get at the properties. > There is an issue we overlooked. In sound/soc/codecs/mt6359.c, > After removing the line at (1), mt6359_parse_dt() cannot read the DT properties. > Here are a few options we can come out with. > 1. adds back the compatible string in the DTS > 2. gets of_node of parent in mt6359.c, and iterates all children nodes > to get the desired properties Do this, but instead of iterating all the child nodes just look for the named CODEC node that you define in the bindings if you don't want to put the properties in the root MFD node. --eqp4TxRxnD4KrmFZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9WcwMACgkQJNaLcl1U h9Dp0wf6A3eiem9QGqgDURjl9QoxRQnRXVafGmdx8S4QioV/mf+/xBOc7cNzYri6 keaJ0K+HFWRqk4GwYx4JhRYez80iQmT6TWszym6iv0bCB5UeGXXvhsxsnAm06eKi FgsY9Wx48r9hxEvDr6S46HYR++HLQI2cg3krRvm6iyQ/jLc1tm1zGfRSOXYenfSJ HuJydCwg8AUxd0o486d5K6v8md9EK7vtFqqNTEi2NLcfLNlXhR+7L8Ft5LfhvYDk ScJydi1HAyayykul+n7w4r6ZlP8H5I9Ha7O7HTZMEmpWufiNAl4l+yn6vL2l73xX 77G/jtTLhxwpYEW45hLguvCN6asf/A== =CY1J -----END PGP SIGNATURE----- --eqp4TxRxnD4KrmFZ--