Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp893773lqh; Sun, 5 May 2024 06:42:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBlIw+EQDUbJWJGUmJ4ZQMH4MkbAVXd9qcVvJXWba5ShT/YjIcwAefVCA8Zm6zUHjI88nMx1YRExFN/5SrvKhDhvSQ9ACKTQhqEgP7ig== X-Google-Smtp-Source: AGHT+IEy9TArUbRu/PPPoQeKoO7oe3XSGSC45UroeCFtRCIHa1phV4BS+AfmvqZ/c4GCMBmpox57 X-Received: by 2002:a17:906:4899:b0:a59:bfd3:2b27 with SMTP id v25-20020a170906489900b00a59bfd32b27mr1174489ejq.70.1714916529688; Sun, 05 May 2024 06:42:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714916529; cv=pass; d=google.com; s=arc-20160816; b=eovfYKwyH57MJZHI4ysCS9eLTMgGgPDtVyE4fufE5YwEmIIYTUxYN8w1c4H6tR98Fr sYV8h+T67U6YWOThfPpPWAvjm8ELPfwnQ0r+aHzj3Rz8NaDtsWMC5QkIQjkXGqoaFvLo CnQAdABPh+gIx6/o/pZNLU+tgAzuT5ruhMxj7+WccBIVklF0NaYQzGqztCbWnJzO3uAb FN8uypoL1eVxAWivDGSWjwonzdMGFjO4yrMJHDyFJVfS7lWl05D6txB79B2zjjeQbrVj pUgo9mqVAO0xbqyAN/lEvHu7NoL9+2ALRSAwC47pUsc/++ZYrEVyCQffQoRCJLJ98wcG S6Bw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=W8GUtXzj3Rp0251QTwW9fbnt8zTzF5kn1FBpfBkBZXA=; fh=dPfZy73GppGlhs31kWZ0QUl9b3MqkTCJR2wLdK3tE98=; b=T+ry5Psa8xpLAWWTR4eK25aCH8ucqhGEPsCy4C+JJE9l95PLMrloNjddqYNP63+D9R 36wLh29GN1UzXWgGnDALsd8uKZ1ereREgZbuHztNIllZlF6YvRYrNROHUPy/K9TV7x8H PG4abienFdrbWzk++anGGYr6qYUaJudngv66gUP1F6YXBWnnIs7myAMDnxMXh/zGy8lI lWoyKvoj7/9pbmcsTzTXVfPRdlh6+C5xdgx0gi9uCgqnDGxzoiLN7jhhGJ20lziw2uGZ 3zljivSFIUym8VlghgRl1ZbqKL9seZLGmq53Bkc6IZ3AmCLASAhzI15eM1HAWnEyCNso RkRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=fe-e1b5cab7be header.b=bQUUXQG8; arc=pass (i=1 spf=pass spfdomain=fe-bounces.kwiboo.se dkim=pass dkdomain=kwiboo.se dmarc=pass fromdomain=kwiboo.se); spf=pass (google.com: domain of linux-kernel+bounces-168985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kwiboo.se Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ca19-20020a170906a3d300b00a599c03823csi2343985ejb.688.2024.05.05.06.42.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 06:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=fe-e1b5cab7be header.b=bQUUXQG8; arc=pass (i=1 spf=pass spfdomain=fe-bounces.kwiboo.se dkim=pass dkdomain=kwiboo.se dmarc=pass fromdomain=kwiboo.se); spf=pass (google.com: domain of linux-kernel+bounces-168985-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kwiboo.se 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 CD1781F21994 for ; Sun, 5 May 2024 13:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1A1522F0F; Sun, 5 May 2024 13:41:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b="bQUUXQG8" Received: from smtp.forwardemail.net (smtp.forwardemail.net [149.28.215.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95E801E869 for ; Sun, 5 May 2024 13:41:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=149.28.215.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714916509; cv=none; b=huAPqPVtfy/DkhfbH7zBTGHySjy9fXb8ZJhqgT0SRqbxaRWmyTAMpv0sOVlUUwxSI00hq7wmtCr2H53+dLk5zlz3L2uGSa//ZmTA+sU/IJLlVhZ3K+5cPOWoU+FxxMZNuGqPHMN6RmNR2dJsX4vsJJVq6nV6VWLZfzho+O8bu+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714916509; c=relaxed/simple; bh=CIgCjTXeZyu3DH0MqyAjHmzeAO/Nace6NJnBAsiQM0I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cATeRYVSpz2MvbJSpHB2JUqk3Co3IcPuXNLCbrcXK0ipdOeF7kCr8r1xGDtPhZq0vGoU3qIFSw2ven0Gy366IojBrc+0QEIEjg9x0TwHxH/GROvawWdLF1bUAG7ZGT+Lmc4sigMgBJ1Ux/UytUVo9pyybvY3XozKt3vcmFE4WfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se; dkim=pass (2048-bit key) header.d=kwiboo.se header.i=@kwiboo.se header.b=bQUUXQG8; arc=none smtp.client-ip=149.28.215.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1714916495; bh=W8GUtXzj3Rp0251QTwW9fbnt8zTzF5kn1FBpfBkBZXA=; b=bQUUXQG8BJMidveyOUWZaBStb1q0pTzIDkIWN5pibpOBp2DJiRIG0HvHSnKyIp/4WF9PolzYp anuxkBg4CHuKRvzoZBPi3lNMle2ZCn+1HiBvWVpXx4FqCoX3As1Ze63YtP9PpoXjWXOmtmY2qUN 2UVwqfGSvN3fvgRazpw9/luwgaLeM91fyi7B6pICUN/wiXkDwJRcjmg4UraKI1hdIesM7j+rsP9 Yl1M9X8UB/8ezDqcwsFbksnxxZ3JdLkToPKamsXhQmYH0GiaamEXB13F+bXKYXy4Se66FXOlIGC bBdNuWFxijG1U/mtrxgQiNcGF7M57zlcdpyl31tFEbaQ== From: Jonas Karlman To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Chris Zhong , Zhang Qing Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman Subject: [PATCH 2/4] dt-bindings: mfd: rk809: Add audio codec properties Date: Sun, 5 May 2024 13:41:12 +0000 Message-ID: <20240505134120.2828885-3-jonas@kwiboo.se> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240505134120.2828885-1-jonas@kwiboo.se> References: <20240505134120.2828885-1-jonas@kwiboo.se> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 149.28.215.223 X-ForwardEmail-ID: 66378c8e57f92010457d6890 Similar to RK817 the RK809 also integrates a complete audio system. Add audio codec properties to binding to reflect this. Signed-off-by: Jonas Karlman --- .../bindings/mfd/rockchip,rk809.yaml | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index c951056b8b4d..b78e1b090105 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -12,7 +12,7 @@ maintainers: description: | Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD - that includes regulators, an RTC, and power button. + that includes regulators, an RTC, a power button and an audio codec. properties: compatible: @@ -93,6 +93,34 @@ properties: unevaluatedProperties: false unevaluatedProperties: false + clocks: + description: + The input clock for the audio codec. + + clock-names: + description: + The clock name for the codec clock. + items: + - const: mclk + + '#sound-dai-cells': + description: + Needed for the interpretation of sound dais. + const: 0 + + codec: + description: | + The child node for the codec to hold additional properties. If no + additional properties are required for the codec, this node can be + omitted. + type: object + additionalProperties: false + properties: + rockchip,mic-in-differential: + type: boolean + description: + Describes if the microphone uses differential mode. + allOf: - if: properties: @@ -284,5 +312,9 @@ examples: }; }; }; + + rk809_codec: codec { + rockchip,mic-in-differential; + }; }; }; -- 2.43.2