Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2950409rwb; Mon, 16 Jan 2023 01:27:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXvli+1LxM9N90q9WSy6mF6fqkjzeFdY5P3rzrVkFRwftQyfDRmEdzIqg+tHh8i6pQTXjZzC X-Received: by 2002:a17:902:ccc5:b0:185:441e:4cfc with SMTP id z5-20020a170902ccc500b00185441e4cfcmr104799888ple.44.1673861253067; Mon, 16 Jan 2023 01:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673861253; cv=none; d=google.com; s=arc-20160816; b=azczgG8GaA8BeXT0bJMOjI2qwAW/JfGmUsr36YmhXSI2uq6wKx/Etcbyq/dRy/5XHK LqrJ5Dvi5oSRv76jx+q1dsq6odKBuK67jnnNlvhnhhxUhIGK3mY6NE4GMj4/PBotvLU3 hx5iZtIskHDvnBS7y23899CILNZpmtAX8AsnfCwCXKfIJAk81QFtqTlINgcJuhyfc25L nE4krZcCkwLlCSITcZ9hFj2FBkkFLWLWe6Ra3uF0WDsviE0iGbA4a1uaomMZv+3BeTkS huBrU5/hIp80HDrjUmK8wFX/CLGFKCUW4JGDGq7rYjVUM3UcqSVxqs+CnaeabU0cQ2xj eMVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=eTej3R6a7StJO/X1aD8iGB5KaxJ3bqGGr/MCzLjiQ2g=; b=Hfquk5UjxI9D/xj9iY1mfYuiEXoHxac0gtBH7W7VB+SX2YZCZ0o8JksMR9fRq4mqfy Pj2s0Fqwaxt1RSXOFpQT+hzJR0T/piZ7ua/vs/HTtHH6Ri7a7YAr5Ixgf8A/uHl0onJH n9rjTdGqtmldV97n3z2zkpcsl75A0a/nyvGfPew/FaoOsLFfEGVnkTo82rNeEU5vVmPz RWw1ewHNqwZzmn4V/CcTsMgn/U+MAHeAsIpKYoxQG0jZGfiGWAQx8dGES+FfrYJi14Jb XNgfpvINd/5cuaJvU2S+4FxAp4DeF5H9qU9JI9DZeioF73meosi3QO6lPOonvyBv+mEd 3xbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eg6mJCqG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15-20020a170902a40f00b0019493364056si2580212plq.137.2023.01.16.01.27.25; Mon, 16 Jan 2023 01:27:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eg6mJCqG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232503AbjAPI5l (ORCPT + 51 others); Mon, 16 Jan 2023 03:57:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232421AbjAPI4g (ORCPT ); Mon, 16 Jan 2023 03:56:36 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3363A13D73 for ; Mon, 16 Jan 2023 00:56:35 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id cf42so41780430lfb.1 for ; Mon, 16 Jan 2023 00:56:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=eTej3R6a7StJO/X1aD8iGB5KaxJ3bqGGr/MCzLjiQ2g=; b=eg6mJCqGBJHTVkQ7/X62F0bWksNLADA8Np9XG8Xsqq4FeMMrrE3Iseks0sKQtAuPe1 gxUgk8e9xnDNoUseGxQikBmrq8L3tkR04h+EiwFxPDIqltJ4XbLTEbyJ3ekb3kSRlWLi czCXRXPwOIiPuZm7CEmngdTw60HQaAF+AHVIfs04Q1eEGMsfi9UQDnvIBHCaIMr5Ev3B aPFE80jynAsqyuidwyaM8BrWdiFpQ6UQwnNmq/aM2nznB7wTi2F7uEvmgjY0yPuygBpj NCBR8qGELtG8QtX7LfFSPnhaiBGYtTRCQGLMJSwbUPMf2q/2dMxBU87KaSiihfkGIVgS Zxxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=eTej3R6a7StJO/X1aD8iGB5KaxJ3bqGGr/MCzLjiQ2g=; b=eTPTJRS8yxgARHZms/Gvpyj4S2CL2a0Vy5FLjWvVxainBglx7Oy/hua/RmLSx1+sHJ UwBQ/8LRu1V1g/tTNCgKsSVMxeBbPXSi2dSOxrDRRECB4mbO/gPbmxH98R3oYd/r108I pa8LgcLh33CRzkaDhHEhE5BtYRgdX/3dOT52CQ6NTXdPidDCqKiRFLUFDAYGFNejtyVe FhjBccp1G7Q2YhXltwHLYREr18zj4zT42f/HgDaVXm7MJusuT+naHz+OnDJAi0XCSMyA acioAeSQV5PWz0pN8wWFOBHMkyuYRyBeU111ydWyhg7rWUbtZSecFsWDR5k+ywiYddjs EI4g== X-Gm-Message-State: AFqh2kriPK4cjH6DZruIXp1okVj9uXp08DFdaCZzwpzRO9Veo7SNW5VY 4/QN0eBMH+WVWs9Jj6NRPOKSBw== X-Received: by 2002:ac2:4e04:0:b0:4d5:733a:8a84 with SMTP id e4-20020ac24e04000000b004d5733a8a84mr1794578lfr.8.1673859393581; Mon, 16 Jan 2023 00:56:33 -0800 (PST) Received: from [192.168.1.101] (abym53.neoplus.adsl.tpnet.pl. [83.9.32.53]) by smtp.gmail.com with ESMTPSA id s14-20020a056512314e00b004cc82404ff9sm4011360lfi.7.2023.01.16.00.56.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Jan 2023 00:56:33 -0800 (PST) Message-ID: <3ebaf19a-9d1a-be8d-1f99-f8cb6faa35dd@linaro.org> Date: Mon, 16 Jan 2023 09:56:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 2/6] arm64: dts: qcom: sdm845: move WCD9340 codec to separate file Content-Language: en-US To: Krzysztof Kozlowski , Dmitry Baryshkov Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230113162245.117324-1-krzysztof.kozlowski@linaro.org> <20230113162245.117324-2-krzysztof.kozlowski@linaro.org> <5e784285-c391-91f4-c9d1-a53443fc4264@linaro.org> <20385103-2217-a5d0-6355-802bc87ec888@linaro.org> From: Konrad Dybcio In-Reply-To: <20385103-2217-a5d0-6355-802bc87ec888@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.01.2023 08:58, Krzysztof Kozlowski wrote: > On 16/01/2023 06:55, Dmitry Baryshkov wrote: >> On Sun, 15 Jan 2023 at 13:21, Krzysztof Kozlowski >> wrote: >>> >>> On 14/01/2023 21:33, Konrad Dybcio wrote: >>>> >>>> >>>> On 13.01.2023 17:22, Krzysztof Kozlowski wrote: >>>>> WCD9340 codec node is not a property of the SoC, but board. Move it to >>>>> separate file and include it in the specific boards. On all others, >>>>> keep the Slimbus node disabled as it is empty. >>>>> >>>>> Signed-off-by: Krzysztof Kozlowski >>>>> --- >>>> Generally this should be SoC-independent, for example some newer >>>> MSM8998 devices shipped with the 9340 codec that most 845 devices >>>> used, but earlier ones used the WCD9335 found on MSM8996 >>> >>> OK, but I don't get if you expect me to change anything? >> >> Maybe it might make sense to name new include file just 'wcd9340.dtsi' >> rather than 'sdm845-somthing.dtsi'? Same applies to the wcd9335 codec >> found in msm8996.dtsi, if you are going to extract it too. > > Ah, then I vote against, because it is not only codec, but also it's bus > attachment. It cannot be re-used on other devices. > > Same approach with sc7280 audios - not re-usable for other SoCs. Riight.. and interrupts and so on, let's keep it SoC-bound. Konrad > > Best regards, > Krzysztof >