Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp893980rdb; Fri, 17 Nov 2023 16:38:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaA2wCqjYBW7dSDP2tTnSTl7VYl0fWCR8x0fvWUxR4iDoJ6nnPn1PBJe7CiRB41NFX3y15 X-Received: by 2002:a17:902:e54e:b0:1cc:636f:f376 with SMTP id n14-20020a170902e54e00b001cc636ff376mr1277732plf.44.1700267911785; Fri, 17 Nov 2023 16:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700267911; cv=none; d=google.com; s=arc-20160816; b=MJblHEk8QCS9gw5XYKwzsx4K6yVL+fPULK9prInSseDf4L3HD9DZqUpYKeIa8J6fKJ ZfFm7T6DWH0oCjcKRO0nSoblx8JVfrsLcXSK3Tza6nJ5u3s1EW1nFP0lpwKtnD1VRyVK y6pbX1z056fbtbtap64lJw/qVnRWjdJq+EyfO4DHUHGVGWqVBiGFHst4km8Uqa1pkZz7 C+T9s2flrB4ndhpoGlPTI0VjSFC97qMk+c5FWQbGQXw96F2H9i5MfkWJKCOZgdDhR1PU FMpbs64jgpJz4XmehAC7ZPIXAopOLeYeEEE+UKu9eOy3Fne7iEawE7pO2gSmfXFcqAnX 4C7A== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=rQf4cNwr3OWtrAW3jv3pETjipAWA+/tCzrUVBB66YE0=; fh=FOwmIRuy7LSfW1ynNtnPg7u/Pv+Nz7Y4K/4oivuV384=; b=jCJWxWuvPEYMzW0635HlFYk0CB/tPa4frPXODK0lYQMjU41Jks2tD+ZVJASXymCxMV pXQfGtmnVytHdC9fpulE3Oi/rHQtAt7gSltvnYVZPoQwTnVh6EApOiRY3Q9DwV6FHhnH 4vJW6v6Y0RiZ2qqimpitVNy6J3iVhjUFnEOFhzGKve3cBnf4dADLfuh/LvikLFqe3qP8 wZPMTKpZL3rR6gMg/m7ezZLh2Am0Jgd6HMReCh5zrKg3/nSK0x0bjk6ZGJPzxYEgTsvX fTOxiJISeoyEZf/TzizPYdLC30r5p1k19kEMYNaofHz8FzhxDOhid8h9jsOxBEgReYC1 9Efg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uhz7XqG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w14-20020a170902e88e00b001cc4f55db71si3122487plg.343.2023.11.17.16.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 16:38:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uhz7XqG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 82B52826102C; Fri, 17 Nov 2023 16:38:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232542AbjKRAiT (ORCPT + 99 others); Fri, 17 Nov 2023 19:38:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232422AbjKRAiS (ORCPT ); Fri, 17 Nov 2023 19:38:18 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 686411AD for ; Fri, 17 Nov 2023 16:38:14 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9e1021dbd28so355503166b.3 for ; Fri, 17 Nov 2023 16:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700267893; x=1700872693; 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=rQf4cNwr3OWtrAW3jv3pETjipAWA+/tCzrUVBB66YE0=; b=Uhz7XqG8nCENjUeYkuNZcnflmxj6nPvIZ46i+NGtS11BrQ+FgB7iwQfFMfx5YaSamV shGOmmzpm3VR1oP9tBdaX8hzgxO055NyVwR7C2fWQHPa+NEWORcXkjJ+aClCfN0IMZ74 cgaikX55OoyjPrTTYZprQJXTYnuK3jfjMXISLz1U1zNeBHsh/QS8bYXUHEjGR7U4VFkR BkkZozGEySFaV0IpRcnFonG6OTIpxzLz9jQcKvsDw5QtfzKm25o/ETjWTUxycVo6g1RD V/7ROj8RZkXUDRnST2oo8ve0WOpXgkKxCQwEcAWWmYP6f1EII4wUFJ8EnXG5dfB8+4KR d76w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700267893; x=1700872693; 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=rQf4cNwr3OWtrAW3jv3pETjipAWA+/tCzrUVBB66YE0=; b=BQTb1gl7e9Ea/DqJlHPkbAT/salNNYA6mUTuUQPtndsSE3kxnXLTAiXXXvaPS9OtUJ LHGC25z/EhJ8YxJcZVou/rzw06LcbFmO4uFbjPFghv38mswbRYg7cYaCG0Uu2A1N9c6R jI/gliWiuEqj5/g0zy7Kpwzo+F0WyyKHBmtt2v4Pal9UT8kuVeiGqnWG+bgWsUcIxmx8 ODJp07zOKRhbyX6hq+PHQPN8LruDjEvdeiQleLSTSIFfOfeJf8cAAbugSYb/Aqn2gH+J Vvz80OCFtS7MVsf/dyvpLvuA+md0ctSIWwpZwITUBIGbdi2EsiOEY4l6ttY1kB7VPq/Y sv6Q== X-Gm-Message-State: AOJu0YwC4Xevb2SEyBu9CgCgcilVEtoedaiYgXim2Mk4wi6FcLoaTzpp Lx8JTUKxI4e2X8+iEBUBXHsCnw== X-Received: by 2002:a17:906:11d0:b0:9dd:8b5b:7873 with SMTP id o16-20020a17090611d000b009dd8b5b7873mr540383eja.52.1700267892924; Fri, 17 Nov 2023 16:38:12 -0800 (PST) Received: from [192.168.201.100] (178235187040.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.40]) by smtp.gmail.com with ESMTPSA id m8-20020a170906234800b009bf94de8971sm1326178eja.70.2023.11.17.16.38.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 16:38:12 -0800 (PST) Message-ID: <9752f4ab-5e08-4d1b-9ed4-6aa280c87a36@linaro.org> Date: Sat, 18 Nov 2023 01:38:10 +0100 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: Bryan O'Donoghue , 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> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJ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IzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231103-b4-camss-named-power-domains-v4-5-33a905359dbc@linaro.org> Content-Type: text/plain; charset=UTF-8 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 17 Nov 2023 16:38:29 -0800 (PST) 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