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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0288FC636CC for ; Tue, 7 Feb 2023 16:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232733AbjBGQZ7 (ORCPT ); Tue, 7 Feb 2023 11:25:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231280AbjBGQZm (ORCPT ); Tue, 7 Feb 2023 11:25:42 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB5D61A5; Tue, 7 Feb 2023 08:25:41 -0800 (PST) Received: from cryzen.lan (cpc87451-finc19-2-0-cust61.4-2.cable.virginm.net [82.11.51.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tanureal) by madras.collabora.co.uk (Postfix) with ESMTPSA id 29C3E66020E8; Tue, 7 Feb 2023 16:25:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675787139; bh=HOrC+xKoDbYva3mi7kNRHfK88vh1PiAgWULb+aXfcI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i5F9gkSN0PTfhpMPj6BBMRxWK14vLVR6Up5CF2yPvbptxFGrxnApAmPNx7cB8ttzZ eLtTAiSMe+3zf1Mxm1apv+4umlAqO9Zie6Sicjxzgfi9LuOFROHsj3ppa1G4okLuho gnBpTQbJwUOcsLO3mW4eQZf/9FNIGe9BQBWfzeZAboMmxLE9qLsptLDPuDpElryVNa 3C+ych2kZy3yaMq1ZproHJlpKpVpFaH5Ihptu6bp4V0XxTP8MULWNSjHKXXPMcwVuZ X/JO+Tcxyj9W6QpoDJ+9ANb/ZHErq3zaBUT8ccgToUv0kXmlWd6RslmlNQzMBVdvmM j2Hc+az8NxlLQ== From: Lucas Tanure To: David Rhodes , Charles Keepax , Liam Girdwood , Krzysztof Kozlowski , Mark Brown , Rob Herring , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, kernel@collabora.com, Lucas Tanure Subject: [PATCH v2 5/5] ASoC: cs35l41: Document CS35l41 shared boost Date: Tue, 7 Feb 2023 16:25:26 +0000 Message-Id: <20230207162526.1024286-6-lucas.tanure@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207162526.1024286-1-lucas.tanure@collabora.com> References: <20230207162526.1024286-1-lucas.tanure@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe the properties used for shared boost configuration. Based on David Rhodes shared boost patches. Signed-off-by: Lucas Tanure --- .../devicetree/bindings/sound/cirrus,cs35l41.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml index 8465623bbd96..54f769159ce4 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml @@ -86,12 +86,20 @@ properties: External Boost must have GPIO1 as GPIO output. GPIO1 will be set high to enable boost voltage. External Boost without GPIO1 as VSPK switch is no longer supported. + Shared boost allows two amplifiers to share a single boost circuit by + communicating on the MDSYNC bus. The passive amplifier does not control + the boost and receives data from the active amplifier. GPIO1 should be + configured for Sync when shared boost is used. Shared boost is not + compatible with External boost. Active amplifier requires + boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad. 0 = Internal Boost 1 = External Boost 2 = External Boost without VPSK switch (Do not use in new systems) + 3 = Shared Boost Active + 4 = Shared Boost Passive $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0 - maximum: 2 + maximum: 4 cirrus,gpio1-polarity-invert: description: -- 2.39.1