From patchwork Sat Jan 20 13:55:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 19204 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp1625263dyb; Sat, 20 Jan 2024 05:56:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZkYLMWKqU8UEmVku5EIOk8qJ18YXHgSzSkCZSQm/9vPFWMPcmgw44KcO9cs4oKCKPgPPD X-Received: by 2002:a17:906:4783:b0:a2c:2dfb:121d with SMTP id cw3-20020a170906478300b00a2c2dfb121dmr897261ejc.45.1705758961905; Sat, 20 Jan 2024 05:56:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705758961; cv=pass; d=google.com; s=arc-20160816; b=yPXGK0zrsLz08K51H43ZfGdzjQ3nF0/gJY5LXUQ+IiIlNEsrflrpegUKdXK4gbj36z 07hK9wruSB0qOp3626YIBzkGQ1zXMUz/to//mUZvxU1xaYbvn9/dkqdKHt4XkHS30SDB cuxN97yKoYlSIdXMzUqqacaKh1ppIxHsRiRDto6Q+Y8x5Krm2ho+1gsG5IsQUWGd/PW9 6OaPyo4FiB4JA2sy+NW+XZDvcfUjrclelToH/v3xnpbRmanDxo559l9JFDQoEJO4xHem PluuBjyoLdMftSPWEXY1+cF0PbjtKQav0jyBtuTaeo1kBVcK+5NnfBOTcPD69Ol992dq zXyg== ARC-Message-Signature: i=2; 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:message-id:date:subject:cc:to :from:feedback-id:dkim-signature:dkim-signature; bh=9ijthPNIebSJSQYxWt79GWhaSuh0UMR6m/aWq9NGuS8=; fh=Dcr2EZcgCdCEJxu+15I7l56ArkqMAO3ak2ijy+D8nlM=; b=mpqDai67hCAp8d8nq1l+g6Qa0onCS4K0pPM7GAkxxLbvwciszFfcdq7tirQXbeVRUN ubez1y55ltQhRfLhwM4AWBUdU55CEyDpUujj/q7jXfCIYOL29/QUY1kTK5WnEntYgqPs 4soQjP4Us4lv2degScHl8XogDUGSDBVJxmKTnnaPDIogID9m2lS5Frprl2X+LlW+92mT eFvtwm5LyRaMPNEkGct9uodXCjzYLpO6PJBMMmUKNX0Olj6sx24IXxuq5QvaGX5bRzMD CbrpU19H23SQEz5btU2Y0js2yleYgmXlW6fdG6oblGAavC8A5tU0DjaDt3mfAunFqOu+ 7Lzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=B7o8g2ge; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OU0Y1Li0; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-31807-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31807-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 f16-20020a170906c09000b00a26f5fcbd0bsi8536760ejz.383.2024.01.20.05.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 05:56:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31807-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=B7o8g2ge; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OU0Y1Li0; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-31807-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31807-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 844E11F228EC for ; Sat, 20 Jan 2024 13:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91153FC10; Sat, 20 Jan 2024 13:55:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="B7o8g2ge"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OU0Y1Li0" Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4C35EEED7; Sat, 20 Jan 2024 13:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.26 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705758946; cv=none; b=lzHMFAciTrw+EmOcmvk2onjVfVj8o1mxOnYTO/epFpAS0EwVu13ypOqQx2Z1A2iYYDq44yMFChdjmSaPidOmK6WT/Ej/FRfv8Y13d/Or6jmWvQQN6o06ZNfR6gDeDfDS+W4Bok+jgUW75XZOJdHDxCcx3+s9EsXU/6wuQBb1wxA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705758946; c=relaxed/simple; bh=BWC5RH22RQmNpifbhKrxSu/ykLI79UCxDTBp1sCJGV8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=KR4bukDhw4LA19zRQo9GTcHCNyl7WYfbx7gXRvKlcaQL7k7Iq0QGYtGTO1hwkjRd3gNE9ytavyxi1Yer2D5nhG0ztYP8OioDP52lhV4BMKPt9+lXczt17as5csF+E41UWrtxeUM1M6u6Lofq02VKtjvF6wzrU0xVR4/dWTG2sEU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org; spf=pass smtp.mailfrom=feathertop.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b=B7o8g2ge; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OU0Y1Li0; arc=none smtp.client-ip=66.111.4.26 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 compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id ED64F5C00FE; Sat, 20 Jan 2024 08:55:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 20 Jan 2024 08:55:42 -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:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1705758942; x=1705845342; bh=9ijthPNIeb SJSQYxWt79GWhaSuh0UMR6m/aWq9NGuS8=; b=B7o8g2gesQQ32xjebrNMFDgsxm owB+ZpUxM9FAqJrQ+5okB6KXgjJ3wW/xZb0Cgj/q7Xh3IzdKBb+WdY1rpDKfSnm5 u6uRezdKTylz9hjbm/0zgrJWgNGPCyi/VyZ5vpIKgJaKcXEXaTU8c3avnP/1EaEK 0YH7TddjoglH05Ubn1yUKSGUUrtO2Cyyk4V7BQ/nK1GqO5et1yCzFlJEA8tfXAvp NnITfU9huOIGnU8KdYDmhNJtpZMNgOeI0FGTmPrZO+bgVegAyOVEe0Svb1Pm1dMB zAXjUpR5lTPCrJI0IqDXrY88+UhCDd7CXqsb9DArlbRQtYBama74rr9fPoMw== 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:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1705758942; x=1705845342; bh=9ijthPNIebSJSQYxWt79GWhaSuh0 UMR6m/aWq9NGuS8=; b=OU0Y1Li0hxUHJREOnyBxc5an8vQDj/Uo9VfyvhaQCv1W SDePqeI3lwRBZDTsjaiKKHzIIb5ToASCc7rrWrojkbnWYD13CotL3fCdDVPCtb+n 00BmSc1BHhrUxNiyqbE7Syl9VU76rD/fjo8Q4yFKyL5p/wNun5K+dj+lTPHXOOcr 0/uZRSECpmPrT+JgjvncNNWUbBAwSjU5I8NjX0wUATyvCMaaD282rSCawY2u9b57 +ezLyVuT/Y/y4x1mpKKc3x/qynRQS6HhxTpRS01Q6x7w+pV6KtTTXz1Rsr4HACRw /SpHSUpQln7of2gHTXwnRDWfxAgddQF3vsrJEmH6JA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekvddgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhimhcunfhu nhhnuceothhimhesfhgvrghthhgvrhhtohhprdhorhhgqeenucggtffrrghtthgvrhhnpe duhfdtveeujeejjeffieevgfdtudegfeffvedugfetteehudevteehtefgieeitdenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtihhmsehfvg grthhhvghrthhophdrohhrgh X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 20 Jan 2024 08:55:35 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Sun, 21 Jan 2024 00:55:30 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org, conor.dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Tim Lunn , Chris Morgan , Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Zhang Qing , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] dt-bindings: rockchip: Add support for rk809 audio codec Date: Sun, 21 Jan 2024 00:55:26 +1100 Message-Id: <20240120135529.899403-1-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 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: 1788617909325775409 X-GMAIL-MSGID: 1788617909325775409 Rockchip RK809 shares the same audio codec block as the rk817 mfd, and is compatible with the existing rk817_codec driver. There are already about seven rk809 based boards that implement this codec in existing device tree files. This series documents the audio codec properties in rockchip,rk809.yaml bindings and updates the example with their usage. It also fixes a typo in the existing example that was causing the example to be validated against the wrong binding. Changes in v3: - split out clocks into separate patch and group example properties where properties are introduced. - Address review comments - drop clock descriptions that arent required - set maxitems on clocks Changes in v2: - Fix vcc-supply warning detected by dt_binding bot - Fix missing include and pinctrl for codec example Tim Lunn (3): dt-bindings: rockchip: rk809 fix existing example dt-bindings: rockchip: rk809: Document audio codec properties dt-bindings: rockchip: rk809: Document audio codec clock .../bindings/mfd/rockchip,rk809.yaml | 42 +++++++++++++++---- 1 file changed, 35 insertions(+), 7 deletions(-)