Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1801634rbb; Tue, 27 Feb 2024 01:17:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV5qjcglS6ayVMtDZikpjJ2051O3hQTjaeBMbIWnRa1QcCkbXOVWXia/YWHlcv6obpJP7u74fccepjjWVDnW3a7SUuLr+WW5MxxCUHutw== X-Google-Smtp-Source: AGHT+IHAy+uUGzjE+6p+M0mAA3xoyT8s8oCVosrwNgvmpnC12NscAT51mrZR+MfiMBq1wn63U3Bc X-Received: by 2002:a05:6a21:31c7:b0:1a1:eba:b58e with SMTP id zb7-20020a056a2131c700b001a10ebab58emr772516pzb.58.1709025426353; Tue, 27 Feb 2024 01:17:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709025426; cv=pass; d=google.com; s=arc-20160816; b=PhP5Yv4lNcYFlbPfBbFr/uInenWu1HVsqSdVVK/k0bpKbH2l4W2TXBubLZFDEF8F7U hIqlPRUNKCqN6azJIiEPOB9vtvK9zXB9VQ8Z3F30LLqeEXBOsdbyDGW4I2/h/Y1FhiGE uI3Cuw1jSJhmHIRELiqtEq3oSVFUpxSCfW+5Yqey7+6bKowlbHAKmJhZbJz6vRiDrlZ5 ZYMeM9EZvBqOXdI9v3NrdTRIxuWpjSZOScuNVRgRws9FPefAn0LB0pvft5Q9S93+Z7a4 x6DPFxD0ghEc96sfWcsIgDePTXxsk2SqyUtbjbpcTRRF+GxkaFMZSsoLC0v/cNbFrFzO pvjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=2UFRVzRGdKbrh6OpmSoCELk6m/tgkgNo+Ce19meRH6Q=; fh=QYzjUb4X6hsxzhI7714iICNn9ahgJCXDMFQQ6l9uLjY=; b=igZW3aCUZLa+zbduEXwqc2oscpaBYlNwop5wgHoEDqgmOMFviJ13qXBIBNniqtooJa Ya4awkv1HtDBQuzApCsnT0iNSsB8tyJIrg1saKij6h/6p6zeVLjKAeYvzEBpMfeLHI0V sfNjjJzteq4O9AjQAtN31bpxy+zWLDAn+1ZW61o0XqRz8UHEQHcczvr/jLt6pPfFJUad lxwE4eUiZfqpLT5WccO60nI42t5GMptsosdfLN+M1ao9DcsHJKLlIx1skMFzt1ikm9FM JjSYQHrY37is1wyKgyTH8QkhXZC8sLDXJ3voT/86X1b1qOlj5drnDLDCvrs56oEhfDnR le/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZFTRpLM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bs187-20020a6328c4000000b005d8e2f56d82si5190995pgb.867.2024.02.27.01.17.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 01:17:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZFTRpLM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 44F0EB26E94 for ; Tue, 27 Feb 2024 09:02:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 402C6135A6E; Tue, 27 Feb 2024 09:02:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LZFTRpLM" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 3AE721332AB for ; Tue, 27 Feb 2024 09:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709024527; cv=none; b=Jj0TU2WlGwotEpeH3MwERRwGmjQHoAkcncT3PZC30Oj6qF88pYt9lHOqCrx8tfzv8OR/FOHnqQSvZQtG8jfPoDl2r+evBbocYzwZaARA+M6UjrzMxCAIt/EFHhKk9o4G1r02Bk0TacMaruLRme5ojfOcUie8k9hvRYTtjAbXC2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709024527; c=relaxed/simple; bh=dIHgpUoyDbkjZSwPQJqklMusZJz7R2JT5dRnTlej35I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uR8cXg+6sRqd7Z7+kkx+nFQQg5rK2WY1Lal41Sk1tp6mBJmPRZktxBP35DrqhRyKpOLXEXKyNQDEKJbauKWxYlC2OJjc2RVNZL4zEIKXZSJxzSbtxRfdlV90v4Su7fGmDoXJzMcGx7gDtWzgUm1aIy8ZYfk8ob73331y/tebLyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LZFTRpLM; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5649c25369aso5016367a12.2 for ; Tue, 27 Feb 2024 01:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709024523; x=1709629323; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2UFRVzRGdKbrh6OpmSoCELk6m/tgkgNo+Ce19meRH6Q=; b=LZFTRpLM3taKNjNDj7xf9ZoVL3lu0RS1biifhIJXz9MOZy31l/o13F4qNMivN5iDlh LJiROwgCl3pAlUfJRATTxCXYQqIZiWUoVvrR2PO9VR1En6ZX1QqdGsA8mjXmABI9I4Br RHH48c9UBZ8psyYS4vMQ0KizOqDK0QVz142MITBmQbLlxeZE64Zi4aBpsexKy6DzPrTP U27AmBkCMTvMh6+gJa0R6lganwrr/9iDdjCthRrF1PpNI2M8RkSR7O0XM5k7kwlsFLek VOjCKxE8HkX1a5kgzM4KV65iTE9NxDvgq6Z4FlZD2WxrNThJUIg/zbdshLRBHeEzuq8Y yoGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709024523; x=1709629323; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2UFRVzRGdKbrh6OpmSoCELk6m/tgkgNo+Ce19meRH6Q=; b=JIRcqMWZdH1P+TPpjY5rj/Oibdx4R8pncGDSvOKDGXj+gQguyjBCNsd7tb+revXKok 2kibbPBHoYsSeJyPfePw44tvnktfXpOHNq9+3Y9a1HI3iSnFpZUHikMM9mA5IK3unz7I kXr0uW5aAaama1EXBec+Pyz086l2WCNdgxEn8Jt/Hmfq+wfgmCmPSp9T8Kh/ndyb6FXO m0T0HppCn94kJJkd8itFJeeT5CJxfu6wMVkXMsvcCkcoZL9AItYb2R/q7mB//T14unYu jhobgKeg2k3psxa/5JKHA5WtDJ9D3SoAazSb2tg/ZZqOnkiIHXhU6poQz3CrfuM10Y4s uVGw== X-Forwarded-Encrypted: i=1; AJvYcCXFjP8zKjotduX7KmAqiNbk6gX6HhzPI9GMwvEnAPypbSnObrRpAsVcEIwuQg6qYIZ3iEPBGAuYMXTWb4zLF1uRKoo/vbULIlA+Ip/v X-Gm-Message-State: AOJu0YzYBBq07NunsnbX6NGmobVArs5D4ZF1Wak6QU50VzbXML8IsQvL 4F0cU2ZwJMpNxqFXUvdT12CwdKcFm2crFj+/SkuJH63wk5I9Lplh6e0EDTqbjjw= X-Received: by 2002:a17:906:2e89:b0:a3f:5144:ada2 with SMTP id o9-20020a1709062e8900b00a3f5144ada2mr6800588eji.2.1709024523555; Tue, 27 Feb 2024 01:02:03 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id s12-20020a17090699cc00b00a3e8c3fc3ffsm560002ejn.10.2024.02.27.01.01.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 01:02:03 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2024 10:01:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 01/18] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document Content-Language: en-US To: Alexandre Mergnat , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones , Flora Fu , Jaroslav Kysela , Takashi Iwai , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Catalin Marinas , Will Deacon Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org References: <20240226-audio-i350-v1-0-4fa1cea1667f@baylibre.com> <20240226-audio-i350-v1-1-4fa1cea1667f@baylibre.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS B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XhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240226-audio-i350-v1-1-4fa1cea1667f@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/02/2024 15:01, Alexandre Mergnat wrote: > Add MT8365 audio front-end bindings > > Signed-off-by: Alexandre Mergnat > --- > .../bindings/sound/mediatek,mt8365-afe.yaml | 164 +++++++++++++++++++++ > 1 file changed, 164 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml > new file mode 100644 > index 000000000000..1d7eb2532ad2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml > @@ -0,0 +1,164 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/mediatek,mt8365-afe.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek AFE PCM controller for MT8365 > + > +maintainers: > + - Alexandre Mergnat > + > +properties: > + compatible: > + const: mediatek,mt8365-afe-pcm > + > + reg: > + maxItems: 2 You must describe the items. > + > + interrupts: > + maxItems: 1 > + > + mediatek,topckgen: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: The phandle of the mediatek topckgen controller What for? Don't repeat the property name. Say something useful. > + > + power-domains: > + maxItems: 1 > + > + "#sound-dai-cells": > + const: 0 > + > + clocks: > + items: > + - description: 26M clock > + - description: mux for audio clock > + - description: audio i2s0 mck > + - description: audio i2s1 mck > + - description: audio i2s2 mck > + - description: audio i2s3 mck > + - description: engen 1 clock > + - description: engen 2 clock > + - description: audio 1 clock > + - description: audio 2 clock > + - description: mux for i2s0 > + - description: mux for i2s1 > + - description: mux for i2s2 > + - description: mux for i2s3 > + > + clock-names: > + items: > + - const: top_clk26m_clk > + - const: top_audio_sel > + - const: audio_i2s0_m > + - const: audio_i2s1_m > + - const: audio_i2s2_m > + - const: audio_i2s3_m > + - const: engen1 > + - const: engen2 > + - const: aud1 > + - const: aud2 > + - const: i2s0_m_sel > + - const: i2s1_m_sel > + - const: i2s2_m_sel > + - const: i2s3_m_sel > + > + mediatek,i2s-shared-clock: Why do you need this property? Linux (and other systems) handle sharing clocks properly. > + description: > + i2s modules can share the same external clock pin. > + If this property is not present the clock mode is separrate. Typo > + type: boolean > + > + mediatek,dmic-iir-on: > + description: > + Boolean which specifies whether the DMIC IIR is enabled. > + If this property is not present the IIR is disabled. "is enabled" or "enable it"? You described the desired Linux feature or behavior, not the actual hardware. The bindings are about the latter, so instead you need to rephrase the property and its description to match actual hardware capabilities/features/configuration etc. > + type: boolean > + > + mediatek,dmic-irr-mode: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Selects stop band of IIR DC-removal filter. > + 0 = Software programmable custom coeff loaded by the driver. Bindings are for hardware, not drivers. Why is this a property of board DTS? > + 1 = 5Hz if 48KHz mode. > + 2 = 10Hz if 48KHz mode. > + 3 = 25Hz if 48KHz mode. > + 4 = 50Hz if 48KHz mode. > + 5 = 65Hz if 48KHz mode. Use proper unit suffixes - hz. > + enum: > + - 0 > + - 1 > + - 2 > + - 3 > + - 4 > + - 5 > + > + mediatek,dmic-two-wire-mode: > + description: > + Boolean which turns on digital microphone for two wire mode. > + If this property is not present the two wire mode is disabled. This looks like hardware property, but the naming looks like SW. Again you instruct what driver should do. Standard disclaimer: You described the desired Linux feature or behavior, not the actual hardware. The bindings are about the latter, so instead you need to rephrase the property and its description to match actual hardware capabilities/features/configuration etc. > + type: boolean > + > + Just one blank line. > +required: > + - compatible > + - reg > + - interrupts > + - power-domains > + - mediatek,topckgen > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + afe@11220000 { What is AFE? https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "mediatek,mt8365-afe-pcm"; Best regards, Krzysztof