From patchwork Tue Jan 16 13:21:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 188523 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp251730dye; Tue, 16 Jan 2024 05:22:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ2iGcIAhegrPjUIE+5PDAErVMusMX39MUxRCE6dKILcXXH1ZvrGDSvHvDCZ16xwfeoKcr X-Received: by 2002:a05:6512:3d26:b0:50e:aac2:b88d with SMTP id d38-20020a0565123d2600b0050eaac2b88dmr2719236lfv.94.1705411335108; Tue, 16 Jan 2024 05:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705411335; cv=none; d=google.com; s=arc-20160816; b=v7Z/7rWPcneJfD85cMN3tDCy7NA4IF1elLkI6B9sRyvW2pLqSusAu4NQmLRoFiFeZA iKNcgTEn17KI4GQTULLLAWoWWAD5qhg2y8XJUdSlp0murSMIdj1xfvlLLrcuagGcS5GB W22hKeYOGsnuqdTI2DMutwbXRYtd1XVJ3hmbRqkji1vikV7lRrTsPzDpAXdqQkzzcgNH HNX9eildh2IFX7urCmvwgiQWQ4s4fj61JnGyMnXqVjp7eh2cpQpA6P0pBoT8kNl7Q3jq hSLPpnbe2RJZjfNC4c89NPDacHimKV3ImgoQLGI87h1a8jUakZGBD/jefORwyf+BMaPk BGqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=RMgaWg9hRvrDkXQrNiaOtNKt79w/zahXRyvkBwhz6CI=; fh=Zy1/zZasYn0V9joiZQA7dtW5NRYK4ZkgY6RVFZ+WNVA=; b=cHEhDW8dNjhV1vosOYdy8ZlKWRYil7v/O9zoX+ZPbou0g6Q8juVuL7D8EKatMjxx3M m5DvBKyC2dlYDFOOoEdGy1EyEz5eX/03FUrfBpfv9hvC2Ugfsf8pk2YaZnKdW3vwOJ1M wT89tVZ7tY6aPbOlmSFIQXsRzgLlBV5Cvz0EawzK8iSqkWqVuvaFwB0OuTOPxd2QxCmb DGR7AeHFKhvI4D6tX/bfRZc4b4kJ6DiP5Bgzemry9cQWDBvrvVR5Ya5PKxGOowg1OL8g GX4eLG78LYIUZlhMDJ0lcwwRbHMUd9G4JVVe2T3I83NphvfoZlaDjx50cTvJOIT0nng3 DnXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=pa+BHsnO; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dpe6lJJ6; spf=pass (google.com: domain of linux-kernel+bounces-27415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27415-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j19-20020aa7c0d3000000b005577786e606si4847590edp.374.2024.01.16.05.22.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 05:22:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=pa+BHsnO; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dpe6lJJ6; spf=pass (google.com: domain of linux-kernel+bounces-27415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27415-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB72A1F23BFE for ; Tue, 16 Jan 2024 13:22:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB3831BF21; Tue, 16 Jan 2024 13:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="pa+BHsnO"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dpe6lJJ6" Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5C7E1BDDB; Tue, 16 Jan 2024 13:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C3C905C01A9; Tue, 16 Jan 2024 08:21:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 16 Jan 2024 08:21:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1705411303; x= 1705497703; bh=RMgaWg9hRvrDkXQrNiaOtNKt79w/zahXRyvkBwhz6CI=; b=p a+BHsnOVFNEhy4yroFQTqyqGKxJHdfzMVtGcrghhCnmGnu7l/2WTldCeAcpg/ynE lQzVY2QPl4//PZi1ABJaavnLl8Ik5hacXgJyoAnZf2OCDeRwjt5H1sCwK1roxMbe pUATKmdRibIr0wQSq6Ov3IV69qg05lJ7gLpf3M8bKeb/6ZNl6xxzFvXsyw0oNonv 80jg+DhcosuFaZSA9qcITIVPd3QwaB0twwW0L+myBfJe5JPJTO3tZwk1VHAcpCwJ clwXVZOa+8TdHhK6ZB+81QabL7Qpcpuk6AZ5YToGHdZpd9FS9plpFb2xNHgyo47A pat4pK7DuAXHvQQ2w+Ckw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705411303; x= 1705497703; bh=RMgaWg9hRvrDkXQrNiaOtNKt79w/zahXRyvkBwhz6CI=; b=d pe6lJJ61pl+D1ECDjyP2pmZChQXohrzTJBB6IkRQXSkq6mCLVTbrQCR8uGvWbjLY +NzOAuiPjst8ILYJz3CHI29aSJ2gY+b7bP27+mUDUpBwljUjO+Ju4KwYhEIUlYz7 4V09T+9b+BMYFV2t9AlKHBBCZfZhgQXtCGpMyaVJyxeAn3oag5g8CRJhQcxb0q6q y+d8nmvdBCBL++1b7pNKNbmvZ821Qhm8v/qEkV/C6lImMdMLhXIYMzd0/Ptjm6LV oLJQOfj+NEdcAVS3guxGKqjtuNjl+5eROqiNBsz0lqGIc4TOOKZk/SmSoBRj1rkF NZblvcas2100to8KBhPCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejfedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhimhcu nfhunhhnuceothhimhesfhgvrghthhgvrhhtohhprdhorhhgqeenucggtffrrghtthgvrh hnpeefffeuhfetgeeikeejvefgtdefteehgfdvhfetfeeuffeuhffhfeekgfekgeehieen ucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehtihhmse hfvggrthhhvghrthhophdrohhrgh X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 08:21:38 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Wed, 17 Jan 2024 00:21:35 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Tim Lunn , linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Rob Herring , Zhang Qing , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] dt-bindings: rockchip: Update rk809 example with audio codec properties Date: Wed, 17 Jan 2024 00:21:02 +1100 Message-Id: <20240116132102.3272682-4-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116132102.3272682-1-tim@feathertop.org> References: <20240116132102.3272682-1-tim@feathertop.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788253396184315250 X-GMAIL-MSGID: 1788253396184315250 Update the example provided to include the properties for using rk817 audio codec. Signed-off-by: Tim Lunn --- Changes in v2: - Fix missing include and pinctrl for codec example .../devicetree/bindings/mfd/rockchip,rk809.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index 9b9d670708ce..fee8338b230b 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -147,6 +147,7 @@ additionalProperties: false examples: - | + #include #include #include #include @@ -161,10 +162,13 @@ examples: clock-output-names = "xin32k", "rk808-clkout2"; interrupt-parent = <&gpio3>; interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + clock-names = "mclk"; + clocks = <&cru SCLK_I2S1_OUT>; pinctrl-names = "default"; - pinctrl-0 = <&pmic_int_l_pin>; + pinctrl-0 = <&pmic_int_l_pin>, <&i2s1_2ch_mclk>; rockchip,system-power-controller; wakeup-source; + #sound-dai-cells = <0>; vcc1-supply = <&vcc_sysin>; vcc2-supply = <&vcc_sysin>; @@ -309,5 +313,8 @@ examples: }; }; }; + rk817_codec: codec { + rockchip,mic-in-differential; + }; }; };