Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp298317rdb; Wed, 17 Jan 2024 02:12:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd26+OqpFqCoHPJmST6ok0zVvINtiifmj9id1ZpzFB/coKUdT3pJ8dX9ZBDb3dJ1btiJ1S X-Received: by 2002:a2e:a48b:0:b0:2cd:52a5:88f8 with SMTP id h11-20020a2ea48b000000b002cd52a588f8mr3909765lji.17.1705486347745; Wed, 17 Jan 2024 02:12:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705486347; cv=pass; d=google.com; s=arc-20160816; b=pgbwoWgP0Glulr1E84wa0dSDPMCedHZeAxW0VSxScYhumtA+44G2r9HNA16ctmeAKg o1ZmXsL/H4EwB9kZSKgpKGVFCEmP9VcwtqVCETWTgS0SThXEMaP4b+sFw2TzEZbcq7jj UBi1WoruPbOo6plIaq51Iwd98qt+GiMmGeEPJUhcu6Ea9ZKfEaEeS/xv8vyld//8aZo2 /LwMojTwd/XOQ0jMrCrSG/HseXu7foWnagO/mElHCNyTaxOuVu9S2KTVh7hP4QxdLPqV iILrTLO0notTvTUsZjOr5YToUQ20ENVVaKPJGPZ+WdTHe8F+jPauLuUVlZnT5sXcPG2X j/4Q== 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=fLz4I1weXAmYca488G/BVTkRV5enYY8Li2toFrdjODE=; fh=myDIC5DrJXhhjYaPdbWJIiX4phF8IWqTEsNE9/bGNVI=; b=Nj0ZFrgAdhQzIRGaQKGLmd+w0LMCrTLElcYdt3rb3HQZMr14nnshSAGcmepq1qA4W6 Ik24fKeLkxdMeZRobeFw/mkrO9/5Wsk03ATJidazN3odEOxTSDkPMQeqappCyJ+ALBFG amsLBVPwClVqLunuWZp8N1VlY6Am89poZTw+PjGL1D0xtOw4eyA3ID6thT6FlgrMA106 dxGdK9Uh6qBd0BypG0bKTyu9/3iD5wkIW4rTwnam7gcT736vrWPpnatbU5dlEOM8NM0z Z33cCzumYkk6nktVC23v5RdHgCH4MUyBJ7BEvh5io1/Zv38/izNIZE4uvN54+/j8/jEH +QhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fR0+ULyh; 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-28813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28813-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b12-20020a0564021f0c00b0055713f4eadasi5964658edb.240.2024.01.17.02.12.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 02:12:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fR0+ULyh; 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-28813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28813-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4D6541F26A8D for ; Wed, 17 Jan 2024 10:12:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 273B01429E; Wed, 17 Jan 2024 10:12:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fR0+ULyh" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 A7DA314270 for ; Wed, 17 Jan 2024 10:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705486337; cv=none; b=ppJlKok8+9En5ujbrm7OPFzMUKDWrBPfhvvixkUbHPMTIj62SxOdx5LZ7XDmrzZfJI8BNu3lDxuf5wyBI9rQcDprGsJ5xpAUIKv70FpDYZ/eQsoIZBxja9GcMSW3NvLjD1CSLLiuNS2e+GBPLrai5lRKVsLmyYu3DRvp29AI0Dg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705486337; c=relaxed/simple; bh=rhgo8anDiEoNehQsFNXFLCGNEdAxInN4EQOHuEaGWUc=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language: To:Cc:References:From:Autocrypt:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=Zab6Ei5XiKIy82JNNteFBnPS8Q+4eEeLAgKnVqJ9hlkKExI/X9nubtZlQjciJCdutR38tuY1LqY5/SQbvS78P+9eQfFhG8dNDAzL/5lr7sVRC7+YTQsaWLSq6vhyp7AQZ+oYISDFXCB8qu/mrtax+ii7y7aAA/wJ70vDNSTZXXE= 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=fR0+ULyh; arc=none smtp.client-ip=209.85.167.49 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-lf1-f49.google.com with SMTP id 2adb3069b0e04-50ea8fbf261so12993521e87.2 for ; Wed, 17 Jan 2024 02:12:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705486334; x=1706091134; 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=fLz4I1weXAmYca488G/BVTkRV5enYY8Li2toFrdjODE=; b=fR0+ULyh4e8rWIMMpfgYgjUGLlK/Tdv0ieUksJxyK1VJWDjGyEPOXbupa3ZEaF9rPA pxTT0D6E0ISCNt1RvFFNmyEkmZC9h9M3xnnvrWT25Yh7f05S51SZak8fZzIMZDnsyJGj KddH0VKS3W/nG7Oyl38Ytyf1efkjVMBkMWyvoz4a1tmePxdURIlOGYscuBjOl79duwWA BZGWf2zpQ3uU+qvN+1CayIsfr6vI7hE60uUdExybJxj7Q4/R1IAWh5AXX/SuPvfOiPPk abfeXUHj/TgGXWIwhTZij9yCPV9u1p/oP+FJ/dZ0q5pYYzLaof2AvFJuU3NDWB7+Ikdy 2EyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705486334; x=1706091134; 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=fLz4I1weXAmYca488G/BVTkRV5enYY8Li2toFrdjODE=; b=eg0MohDPpdUcZf4BYAniwwuyIbBmeVtyX/0qNYIXxNQfcC8oae4W3JTEPfHjAL8+1x eZSAIkazwHPr5vsuWwa3harmZgX7hRsUKCHO1EtAmi7n20cNSZ4tPJphZAwm+HijLNX7 +aaczFAOUwY8+QTvuhwn47qRDB5N9JSTAtvghEzuOKv3y1xPa0379aUsqM6YJxzSwGOl UmRO4yNUs3+HrK4PT/ffZBi4JaP4M47SFpeQUKN2NlwhmmfSfni7sUHb1tJs/5m/i2+T h2nj7NtXRJD2lk4Yp2F8iKtgS/Z0qKETWdqajN/5RbfWRwCJA6IWLh8CnEzKITdwMoLH HqPQ== X-Gm-Message-State: AOJu0YwosaBfl8Lh9Qs/rKw1+Iw45Tf3mGOOH2+HEKJhYu06yDMYsxLD LIwiUGGO1SzFMsb282SlHu/2RJRr/e3rbA== X-Received: by 2002:a05:6512:239c:b0:50b:e724:62a8 with SMTP id c28-20020a056512239c00b0050be72462a8mr5089885lfv.92.1705486333780; Wed, 17 Jan 2024 02:12:13 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id p13-20020a05640243cd00b005597b0380ebsm2312997edc.92.2024.01.17.02.12.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jan 2024 02:12:13 -0800 (PST) Message-ID: <71413ca3-1a14-4eda-ad29-dc5fcbe5afb3@linaro.org> Date: Wed, 17 Jan 2024 11:12:11 +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 1/3] dt-bindings: rockchip: Add rk809 support for rk817 audio codec Content-Language: en-US To: Tim Lunn , Rob Herring Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Zhang Qing , linux-kernel@vger.kernel.org References: <20240116084618.3112410-1-tim@feathertop.org> <20240116084618.3112410-2-tim@feathertop.org> <20240116193701.GA286794-robh@kernel.org> <64bce36c-468a-43b6-9d8d-0c20fbd53939@feathertop.org> 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 BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGx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Cd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <64bce36c-468a-43b6-9d8d-0c20fbd53939@feathertop.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17/01/2024 10:37, Tim Lunn wrote: >> You can drop the description. > Yes just 1 clock, i will fix this. >> >>> + >>> + clock-names: >>> + description: >>> + The clock name for the codec clock. >> Drop. > Just drop the description? I dont think can drop the clock names as the > driver use the name to lookup clock: Description. But anyway the problem is that adding clocks should be separate patch with its own explanation. > > devm_clk_get(pdev->dev.parent, "mclk"); >> >>> + items: >>> + - const: mclk >>> + >>> + '#sound-dai-cells': >>> + description: >>> + Needed for the interpretation of sound dais. >> Common property, don't need the description. > Ok >> >>> + 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. >> Why do you need a child node here? Just put the 1 property in the parent >> node. > This is how the existing rk817 codec driver was setup. I suppose it was > copied from downstream, where there are more properties than just the > one. I don't know if there was any intention (or need) to implement > those other properties. >> You need to clearly express ABI requirements in the commit msg. Otherwise you will get a review like for new bindings. Best regards, Krzysztof