From patchwork Fri Mar 3 10:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 13162053 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8F9CC64EC4 for ; Mon, 6 Mar 2023 17:45:17 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B1AB61181; Mon, 6 Mar 2023 18:44:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B1AB61181 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1678124715; bh=lABtBknjf+2ofJrshcscPhXS8qeqNM0qmvagAqkFnOk=; h=From:Subject:Date:To:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=PDTDvW5gHHEGRowqCyTMxBmQ9f8nh1JQIjCmoKmMqWL66gHOYSyr/Eaa/vYgpS80j mg/UWr4DcFyYInUdwx5bEJ+91R9mEfzLy/AA187RJji4mSY2En71V3yIknMs66Y/Km wvHqNc024JfeZHRsY4817B+xSEehCLbWExVeWid0= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 4B789F8053B; Mon, 6 Mar 2023 18:40:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A46BFF804B1; Fri, 3 Mar 2023 11:04:20 +0100 (CET) Received: from out-43.mta1.migadu.com (out-43.mta1.migadu.com [95.215.58.43]) (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) by alsa1.perex.cz (Postfix) with ESMTPS id 4DDC2F800BA for ; Fri, 3 Mar 2023 11:04:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4DDC2F800BA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=OfJurxfk X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1677837851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j5Z5sdd2BdV1dzkgQLa3P+giXSo0A/xE3te2w2iBryE=; b=OfJurxfk/AWSgt5hfN+ATcKhKO56sCye+5OBTGv3nRygs3ovkGc5hphUfMEtqVA56tEFdI DeEKltZQw7AmUpYSj2VW/DKssUkHfQ9PyZ9jJveLtr8dN3QK5+M1zEX60fSlLPUPRNZ4sY htIZI+afZuPrsFj8b+syDzsIBMm63r4= From: richard.leitner@linux.dev Subject: [PATCH v2 0/3] Add "mclk" support for maxim,max9867 Date: Fri, 03 Mar 2023 11:04:00 +0100 Message-Id: <20230302-max9867-v2-0-fd2036d5e825@skidata.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIABDGAWQC/x3NQQ6CQAyF4auQri2OxSB4FeOiA1UadTBTMGMId 3dw8RZ/8iVvAZOoYnAuFojyUdMx5KBdAd3A4S6ofW4gR5WrHOGLU9vUJzy2rjnkMbGHrD2boI8 cumHz9tCeJ94/NcwJ65LK76beUW6a/n+X67r+APhLWa1/AAAA To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Ladislav Michl , Jaroslav Kysela , Takashi Iwai , Benjamin Bara X-Developer-Signature: v=1; a=openpgp-sha256; l=1315; i=richard.leitner@skidata.com; h=from:subject:message-id; bh=lABtBknjf+2ofJrshcscPhXS8qeqNM0qmvagAqkFnOk=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGFIYj0nyPtVfnbJEySEgtvrB0t6tNat3xJ2xFz2dvYIv7M4+ m3r/jlIWBjEuBlkxRRZ7Y65299yy95WKOrkwc1iZQIYwcHEKwEQ40hgZ5hzI15rDvT3FPeaUW8iZNO uEmzklx85csV/IJWg+k13GieF/7j/1BCEGK627CjtfOk2/JZjEOd1hM2+4cny0hevVFE9+AA== X-Developer-Key: i=richard.leitner@skidata.com; a=openpgp; fpr=3F330A87476D76EF79212C6DFC189628387CFBD0 X-Migadu-Flow: FLOW_OUT X-MailFrom: richard.leitner@linux.dev X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: XOOASL5S6O2TIBPCOLCNIFL44C5PME5W X-Message-ID-Hash: XOOASL5S6O2TIBPCOLCNIFL44C5PME5W X-Mailman-Approved-At: Mon, 06 Mar 2023 17:40:31 +0000 CC: Benjamin Bara , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Leitner X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This series adds support for the clocks properties in the maxim,max9867 bindings. Furthermore the binding definitions are converted from txt to yaml. The clock property is needed to define the mclk for one of our boards which uses the the i.MX8MP SAI MCLK as clock for the maxim,max9867. ChangeLog: v2: - dt-bindings: - add "additionalProperties: false" property - remove "clock-names" property - fix $id - fix example - max9867: - Enable and prepare mclk on SND_SOC_BIAS_ON - disable and unprepare mclk on SND_SOC_BIAS_OFF - drop "mclk" clock-name Signed-off-by: Richard Leitner --- Benjamin Bara (1): ASoC: maxim,max9867: add "mclk" support Richard Leitner (2): ASoC: dt-bindings: maxim,max9867: convert txt bindings to yaml ASoC: dt-bindings: maxim,max9867: add clocks property .../devicetree/bindings/sound/max9867.txt | 17 ------ .../devicetree/bindings/sound/maxim,max9867.yaml | 66 ++++++++++++++++++++++ sound/soc/codecs/max9867.c | 19 ++++++- 3 files changed, 83 insertions(+), 19 deletions(-) --- base-commit: c9c3395d5e3dcc6daee66c6908354d47bf98cb0c change-id: 20230302-max9867-49081908a2ab Best regards,