Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp880414lqb; Fri, 15 Mar 2024 08:51:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdKTdDpk7mGBuNDeR8EX+sxR0yKXTqEA1FQx9F5Rl93tfj1ludr3bZXBhPouUjAFS+JtqJI0hQEquZXIk0Tbb0Hea/1ZdNBGrxeq85Qg== X-Google-Smtp-Source: AGHT+IFzj95O9FOpq/CjA4czMKl0nVJCe4ND2vzUhlgQNZYaQ0aQZid5AuUDACOYQ4g2+Vz9ldxB X-Received: by 2002:a05:6122:2015:b0:4d3:43f8:8533 with SMTP id l21-20020a056122201500b004d343f88533mr6500284vkd.13.1710517915012; Fri, 15 Mar 2024 08:51:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710517914; cv=pass; d=google.com; s=arc-20160816; b=mu/qsw0ouM7Jrvmsb2JgelHvkXE7/NT9wVI20z9Vm3sJWbLTMR5PfVMFJDLQd9dEjz 2bWe4A7989QBA7RAVdZBwvAp5X0UtJpDIMzD97ZKz2mG6h76M4Ebb8FqcaxJPX2jpMbg UOoyesyX0mk+WtpWIVpNWBO//GNYDWl+CSZitntyC7eHFjv1qfzVBijh4Qq9PYXhJOPo 0aDIeBBANeMpbBIqfY0ZB4PRXIa9m7f8G8vmOTE3sY4Mj8Wr/kjPO9gDKTONNH+Krrb4 gYgPxyl7ZTYfMabwQtfpcr57kjDTNUD49AhwcT6RwchgYpmTL4iu4M8c7Qhbecx4Olgn t4Zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=uZiAUShPDEMOqaxNAtjsIOfLM+pVH2yigp1MsZwXj7U=; fh=ROtwwYYs+kGw/KwI6gHgrgM9dKwOHIkss8HJxhSZ+yY=; b=fSNwORfrZKeWFwpYmXA+v2KNQNORG048FONCj+bCRVwvntLfvpXpZsE5f6QsTXZxcZ cg5tuw3bFXAU5S7oFGgdn3B3PH16/v7YXlAe3TEzcDlhkzKs6NM1jOhm2pvE7XbWCf65 XtIiyWm6unKu+AQUUHwxr+U4RDdm443wp32oeaCvV1zf0rHnDVJBgm/ayXQT1Gd+obSE hxkr0L9LC4/JnjfJNwlZi/gzjCmOmTbD8/bYDIvvaxiNgH3M1c+SapbjN9VIVUFaQ+4w PHjWeUFG691GqOaGKHkDyQS7Am2g3AlPrQrwS8rBRLqHkHRusZobooRthzWaqIh+P95M g6Pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cATWngLj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r2-20020a056214124200b00690f5845572si3063865qvv.456.2024.03.15.08.51.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 08:51:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cATWngLj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 967321C22BC2 for ; Fri, 15 Mar 2024 15:51:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E25B46430; Fri, 15 Mar 2024 15:50:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cATWngLj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E91464596F; Fri, 15 Mar 2024 15:50:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710517843; cv=none; b=rBnz6FyxgNgdd8SBCNKzZ+iQXatubItz3A3PamDq9oX7014/QeOCk9LyfpbBZaQKAqol6HgQiAncBz3kbg4LIcW5D8/KEa/8Nx2vFou7I2HgbwyUnfDa7yzUtA1b9bDOvOY5xkEnJ5kukPIKAqaiy/MKpPuG/o+H0t0KMjSLZFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710517843; c=relaxed/simple; bh=6q19b+fiofsjhkT1rQDSO2sq7lO0s2NotCj9IMtQRaY=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=ZZVmVLglcs6EOApVXFDeGyFJ2mH7rdeJntokn+CyWQWUIYFEIHyVJSsotYL8/QbM0AYpoKpy/CJwfpkzQC5SPzIGVqPkyb4DN41a9zVNiG9cOmaVCbJe7iiP2n20JNP7xV5FPZNK05Tp5UQ0tWxGFdKXtfb4qUHAnQQhZ34R2RA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cATWngLj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33D25C433C7; Fri, 15 Mar 2024 15:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710517842; bh=6q19b+fiofsjhkT1rQDSO2sq7lO0s2NotCj9IMtQRaY=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=cATWngLj0V0uBL2vyvNEcza3aKIZ7Np98iE1Fp7ZewG/iAYpswJuJuFe9bH49wWaX mnvcdWiUR04/OvSJJ21K3bFM+mpakZDyZjGqOPSAQ1b0njzLjfININ6Qws+lc5B5vR itjqzDy9xjSTZuK3QOQ9I5yeawb4tbQjD5kCOKlSC5G2luE04THVWHO8dM498VfzAJ eLxGeBJfdwLQL6jCw2mcOTrOv8k22gs2tbX8UCHfeGLpnoionHOqrxLElqkflT3IWG FlXaVPlrwuMW0SCEcsynOuS5r9l44wpHCWu3QSG/0OOu0kTEm4j2X9qNt+w2NdnLcK zT4mBoBAl07Lw== Date: Fri, 15 Mar 2024 09:50:41 -0600 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Jan Dakinevich Cc: Stephen Boyd , linux-kernel@vger.kernel.org, Liam Girdwood , Neil Armstrong , alsa-devel@alsa-project.org, Linus Walleij , Jaroslav Kysela , linux-clk@vger.kernel.org, Michael Turquette , Mark Brown , Martin Blumenstingl , kernel@salutedevices.com, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-sound@vger.kernel.org, Conor Dooley , linux-arm-kernel@lists.infradead.org, Philipp Zabel , Jerome Brunet , Kevin Hilman , linux-gpio@vger.kernel.org, Takashi Iwai In-Reply-To: <20240314232201.2102178-1-jan.dakinevich@salutedevices.com> References: <20240314232201.2102178-1-jan.dakinevich@salutedevices.com> Message-Id: <171051663959.1379925.16000374378934819942.robh@kernel.org> Subject: Re: [PATCH 00/25] Introduce support of audio for Amlogic A1 SoC family On Fri, 15 Mar 2024 02:21:36 +0300, Jan Dakinevich wrote: > This series includes the following: > > - new audio clock and reset controller data and adaptation for it of existing > code (patches 0001..0004); > > - adaptation of existing audio components for A1 Soc (patches 0005..0021); > > - handy cosmetics for dai-link naming (patches 0022..0023); > > - integration of audio devices into common trees (patch 0024); > > - audio support bring up on Amlogic ad402 reference board (patch 0025). This > patch is not actually checked on real hardware (because all ad402 that we had > were burned out). This patch is based on ad402's schematics and on experience > with our own hardware (which is very close to reference board); > > Dmitry Rokosov (2): > ASoC: dt-bindings: meson: introduce link-name optional property > ASoC: meson: implement link-name optional property in meson card utils > > Jan Dakinevich (23): > clk: meson: a1: restrict an amount of 'hifi_pll' params > clk: meson: axg: move reset controller's code to separate module > dt-bindings: clock: meson: add A1 audio clock and reset controller > bindings > clk: meson: a1: add the audio clock controller driver > ASoC: meson: codec-glue: add support for capture stream > ASoC: meson: g12a-toacodec: fix "Lane Select" width > ASoC: meson: g12a-toacodec: rework the definition of bits > ASoC: dt-bindings: meson: g12a-toacodec: add support for A1 SoC family > ASoC: meson: g12a-toacodec: add support for A1 SoC family > ASoC: meson: t9015: prepare to adding new platforms > ASoC: dt-bindings: meson: t9015: add support for A1 SoC family > ASoC: meson: t9015: add support for A1 SoC family > ASoC: dt-bindings: meson: axg-pdm: document 'sysrate' property > ASoC: meson: axg-pdm: introduce 'sysrate' property > pinctrl/meson: fix typo in PDM's pin name > ASoC: dt-bindings: meson: meson-axg-audio-arb: claim support of A1 SoC > family > ASoC: dt-bindings: meson: axg-fifo: claim support of A1 SoC family > ASoC: dt-bindings: meson: axg-pdm: claim support of A1 SoC family > ASoC: dt-bindings: meson: axg-sound-card: claim support of A1 SoC > family > ASoC: dt-bindings: meson: axg-tdm-formatters: claim support of A1 SoC > family > ASoC: dt-bindings: meson: axg-tdm-iface: claim support of A1 SoC > family > arm64: dts: meson: a1: add audio devices > arm64: dts: ad402: enable audio > > .../bindings/clock/amlogic,a1-audio-clkc.yaml | 83 +++ > .../reset/amlogic,meson-axg-audio-arb.yaml | 10 +- > .../bindings/sound/amlogic,axg-fifo.yaml | 8 + > .../bindings/sound/amlogic,axg-pdm.yaml | 5 + > .../sound/amlogic,axg-sound-card.yaml | 12 +- > .../sound/amlogic,axg-tdm-formatters.yaml | 22 +- > .../bindings/sound/amlogic,axg-tdm-iface.yaml | 6 +- > .../bindings/sound/amlogic,g12a-toacodec.yaml | 1 + > .../bindings/sound/amlogic,gx-sound-card.yaml | 6 + > .../bindings/sound/amlogic,t9015.yaml | 4 +- > .../arm64/boot/dts/amlogic/meson-a1-ad402.dts | 126 ++++ > arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 471 +++++++++++++++ > drivers/clk/meson/Kconfig | 18 + > drivers/clk/meson/Makefile | 2 + > drivers/clk/meson/a1-audio.c | 556 ++++++++++++++++++ > drivers/clk/meson/a1-audio.h | 58 ++ > drivers/clk/meson/a1-pll.c | 8 +- > drivers/clk/meson/axg-audio.c | 95 +-- > drivers/clk/meson/meson-audio-rstc.c | 109 ++++ > drivers/clk/meson/meson-audio-rstc.h | 12 + > drivers/pinctrl/meson/pinctrl-meson-a1.c | 6 +- > .../dt-bindings/clock/amlogic,a1-audio-clkc.h | 122 ++++ > .../reset/amlogic,meson-a1-audio-reset.h | 29 + > .../dt-bindings/sound/meson-g12a-toacodec.h | 5 + > sound/soc/meson/axg-pdm.c | 10 +- > sound/soc/meson/g12a-toacodec.c | 298 ++++++++-- > sound/soc/meson/meson-card-utils.c | 12 +- > sound/soc/meson/meson-codec-glue.c | 174 ++++-- > sound/soc/meson/meson-codec-glue.h | 23 + > sound/soc/meson/t9015.c | 326 +++++++++- > 30 files changed, 2394 insertions(+), 223 deletions(-) > create mode 100644 Documentation/devicetree/bindings/clock/amlogic,a1-audio-clkc.yaml > create mode 100644 drivers/clk/meson/a1-audio.c > create mode 100644 drivers/clk/meson/a1-audio.h > create mode 100644 drivers/clk/meson/meson-audio-rstc.c > create mode 100644 drivers/clk/meson/meson-audio-rstc.h > create mode 100644 include/dt-bindings/clock/amlogic,a1-audio-clkc.h > create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-audio-reset.h > > -- > 2.34.1 > > > My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y amlogic/meson-a1-ad402.dtb' for 20240314232201.2102178-1-jan.dakinevich@salutedevices.com: arch/arm64/boot/dts/amlogic/meson-a1-ad402.dtb: audio-controller@4800: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/sound/amlogic,t9015.yaml# arch/arm64/boot/dts/amlogic/meson-a1-ad402.dtb: audio-controller@1000: Unevaluated properties are not allowed ('power-domains' was unexpected) from schema $id: http://devicetree.org/schemas/sound/amlogic,axg-pdm.yaml#