Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp925573rdb; Fri, 17 Nov 2023 17:56:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDqRF47jPT7cNBQsh3gN9fHsJsgj1rCPrKqhAd5m9/dz7fzY4oXtZqY2TeMKH+05HnSbQQ X-Received: by 2002:a17:90b:1bca:b0:27d:3f08:cc21 with SMTP id oa10-20020a17090b1bca00b0027d3f08cc21mr1504071pjb.5.1700272584200; Fri, 17 Nov 2023 17:56:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700272584; cv=none; d=google.com; s=arc-20160816; b=EZG7hn66Vhdeqo2r7tkBAe+FJShl8NZJ3fid1AlGMSROPCJMraK3ZrIfdQIrafoegD YMt1hJ+I4E1X6A7Iz7OBPcMjBQ1fp6AjLzv9bysRgcHsqJ5CWJbKjEMF5vZEQvoKi7qW Tv/XxKVedJDM7CDaTB5qqpVi9A//3oE99nLiv16s3Z2/RtZRKKWRpA410/PkM4MD75AD 4XIcmZaFUlRdVC5QcrJ0hjNN1xNlbe9TRa7QDXlBFT/NAALP25vOGDxwJmGvIvQaGjVj UQIqmz3n7pi8wvKkSOp7mFape4MPxcNNiI5K7A+IaHC29qc8MF2TBO+olwjEPkuD9F4G gZcw== 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=tXrHQ3w3ZeCgtpBw84c6HijlDU6o8dqFfZbTc1+ea3o=; fh=uDD1y7bDoG68mimeqFC7o1eTaEtPwl40wpR+yEHG40s=; b=bkxL8XAXWMWZL1jGJXzPsSw/K6FxddFaurErhWoaDMGpeUN0mGSC4oBC1/CM5wnHuM Cj/0wPbKE52J1DItW71XlXqc9Nhfyq74RtmE2bzbMo5slfADcblaanXFqrLA2g+8OgQX QU8IfHXoq1Bs8yDzYjFyn84r/E/hnTyemsx2oNEUeuJeMacclopNhMatlr31YXLg9wqm TLwTVfjEELY21/HDpy5GnqDVgfYo/52GscOV4bMxbb6V1hCshp6I5lzMBR6gC4hoqVfX Xr6/XLVSRZzRX8tqMbtYeSeb7aqGDQXLY3YxwHZf/oZOSpztPBZBV3iFkLg8xPMOvGfO h1uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WGmnCuGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id qj11-20020a17090b28cb00b002804fe98045si3495511pjb.33.2023.11.17.17.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 17:56:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WGmnCuGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7F78B83271E7; Fri, 17 Nov 2023 17:56:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232769AbjKRB4O (ORCPT + 99 others); Fri, 17 Nov 2023 20:56:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232802AbjKRB4M (ORCPT ); Fri, 17 Nov 2023 20:56:12 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C4C01727 for ; Fri, 17 Nov 2023 17:56:08 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4084e49a5e5so771115e9.3 for ; Fri, 17 Nov 2023 17:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700272567; x=1700877367; darn=vger.kernel.org; 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=tXrHQ3w3ZeCgtpBw84c6HijlDU6o8dqFfZbTc1+ea3o=; b=WGmnCuGqc5Ub+lM5VFPb2IA93CAwgurh9bz78XY5vyKmEJbBKaLy3KKFXT/e4+7GCB BhPDqjnIqI6gogihds9Bm6M+gLFQgibPsMFVrkT1udBAlWgF3tQ8rFRPpBPHA4WR4oux XdrMdOr1GnYzwzP+KeMJqqx0QbYPcwdRRabf5oVm8+WHbUR3hOnofdK8/rJ85Huv7QiC C6DUgqmObF0wFgf+HGuOyisLZpZ0+Wae9JYTf4wC/0/u5otr1xLjTl4Htqhh73T4Gvox l1eovsFhh9/oiVEKw7hX9LN4a95EN7mjKQS9XlYl3ubqb+Lw64LNiwBq1HKJbNNOrkCW magA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700272567; x=1700877367; 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=tXrHQ3w3ZeCgtpBw84c6HijlDU6o8dqFfZbTc1+ea3o=; b=aIEE3flPaM3r6sB7DG4DiG8rh45Kpa38Zk1ACqc4lBIvt6CLdqzedDV1u1zOX3IYYK x86nwsjTJq521JO5l6bRwDf0RgSYQq+jo93ouUKpaUP3MqwSE0kxx36JdnslMJOvkk4O hu7NiPbkWQA27S6Grb1WvukaZ4HuJzZKegSRNNYHHaHwobWjU/HcKE1DvQohzsYOPWmM lLwDUS2LlQl0I/28n1S+QglDINYJjN0Z01TRdK3dbeh94oQsQFHb7Ek7Ah6uSyUkY6oF CJ3HSvLNYtKske8znqKlRd/LPdFhNEvZ8QtGUFpAQ+izHf1C0guR2wbpScNL/NPqusOU ShbQ== X-Gm-Message-State: AOJu0YxjyLYCIE5HEiwz68N1SNY24yXOBYRKdCVs0kYxzclPJfVuVGKD YeXkDwyNUhYK7DwyzlLUPVFTvw== X-Received: by 2002:a05:600c:4448:b0:40a:45ff:fd69 with SMTP id v8-20020a05600c444800b0040a45fffd69mr789470wmn.19.1700272566550; Fri, 17 Nov 2023 17:56:06 -0800 (PST) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id j7-20020a05600c190700b004064cd71aa8sm4666185wmq.34.2023.11.17.17.56.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 17:56:06 -0800 (PST) Message-ID: <4b60b317-6961-45c7-a4dd-9fe73641a239@linaro.org> Date: Sat, 18 Nov 2023 01:56:05 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 5/7] media: qcom: camss: Add support for named power-domains Content-Language: en-US To: Konrad Dybcio , hverkuil-cisco@xs4all.nl, laurent.pinchart@ideasonboard.com, Robert Foss , Todor Tomov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , matti.lehtimaki@gmail.com, quic_grosikop@quicinc.com Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231103-b4-camss-named-power-domains-v4-0-33a905359dbc@linaro.org> <20231103-b4-camss-named-power-domains-v4-5-33a905359dbc@linaro.org> <9752f4ab-5e08-4d1b-9ed4-6aa280c87a36@linaro.org> From: Bryan O'Donoghue In-Reply-To: <9752f4ab-5e08-4d1b-9ed4-6aa280c87a36@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 17:56:21 -0800 (PST) On 18/11/2023 00:38, Konrad Dybcio wrote: > On 3.11.2023 13:29, Bryan O'Donoghue wrote: >> Right now we use fixed indexes to assign power-domains, with a >> requirement for the TOP GDSC to come last in the list. >> >> Adding support for named power-domains means the declaration in the dtsi >> can come in any order. >> >> After this change we continue to support the old indexing - if a SoC >> resource declaration or the in-use dtb doesn't declare power-domain names >> we fall back to the default legacy indexing. >> >> From this point on though new SoC additions should contain named >> power-domains, eventually we will drop support for legacy indexing. >> >> Tested-by: Matti Lehtimäki >> Signed-off-by: Bryan O'Donoghue >> --- > rg -l "&cc.* \{" arch/arm64/boot/dts/qcom # (the bus is named cci or cciN) > > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dts > arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts > arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dts > > the FP4 only has bus enablements (i.e. no attached sensors) > the number of working DB845c/RB3s is probably single-digit today > > 410c and rb5 are probably legit users.. part of me would like to > get rid of this messy old binding ASAP.. but then are there really > non-Bryans with these boards and the camera mezzs? > > Konrad The plan here is to follow the procedures as I understand them. - Deprecate - Wait a reasonable amount of time ~ 1 year or so - Drop We could go faster but, there's no need. Drawing a line on new SoCs and deprecating the old way will do fine. --- bod