Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp346844rdh; Thu, 23 Nov 2023 05:43:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IElH63IkV21jzsGiJGYYXzmahtT8ihOFeUnrXl/5OqJx1occKieR8if3kGozIUrWyBZ9nyW X-Received: by 2002:a17:902:f542:b0:1ce:5b21:5c34 with SMTP id h2-20020a170902f54200b001ce5b215c34mr6125860plf.5.1700747027292; Thu, 23 Nov 2023 05:43:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700747027; cv=none; d=google.com; s=arc-20160816; b=Y8yq7OHVbTs/aRmFPhj6434At/UAWQytg0hs1g/7yFgZqXdKQHRdrxpg1POLZpUgbr gvUxmFP63JWbcw+k3UctX6YYfM3e8yRUJ4vox0xbxoA2mGOc7g2IDswtQjZo5ALJW1vS yRFTE5JpUiR/cKRflFmmpaoXzPkD+gXCHXWgRANb9KAzpx+54o5fR2poNKTL5zV/jXaS W8MKcYBk8jeiW5SMc+n6dwgrVrVsHAjPli19x5jMvnZijGQGtON6zzPfg910h656l+kw YqmgkyI02vpuaCYcFMNRWjbfmu1K1oznggnnWEM9C7icS6xXscDn4X/PDU9HBWwnmxmy hhBQ== 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=WIX6Y6OmD18tbJ/H2yRFYnNOAfgH4KdfJCuauNIg3HA=; fh=uDD1y7bDoG68mimeqFC7o1eTaEtPwl40wpR+yEHG40s=; b=OwICKPlpiVwwXvIivWBibxwN/VivGKsrSm/Z2RHZL7702MUjJu7XfXzRJmP72xmWwP 748c0NISPZMer9Cj5jxfQa6sPM937ZWTs6OWg4La1qzU/Yz3TTPcgmk6Z/yFpfDPyV5b uZoRPfY8ErXlYPwGJwVYegyyYPER/P6/aCCIi8jOvhAsVih4oDbwZLGhgwOMr3eWa0l4 dnxPuNRlcjWML8bnm3pXRu/Uy6zYP4MnA0s6ANrgAd48Lko61xMezBvCJFfIfJJ9yh6d GeMNSl6RMPXRGLYZkrTURSNa0AoIAZL7/dKZWcZRKJGyUomUsoDtr4KNsMjR8D5BsCuU 61tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2uOT1hL; 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 o18-20020a170902d4d200b001cf51f91979si6236plg.332.2023.11.23.05.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 05:43:47 -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=D2uOT1hL; 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 5FFB2829A071; Thu, 23 Nov 2023 05:43:44 -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 S1345584AbjKWNnL (ORCPT + 99 others); Thu, 23 Nov 2023 08:43:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345603AbjKWNmx (ORCPT ); Thu, 23 Nov 2023 08:42:53 -0500 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 440F01B2 for ; Thu, 23 Nov 2023 05:42:55 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id 2adb3069b0e04-5079f6efd64so1088868e87.2 for ; Thu, 23 Nov 2023 05:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700746973; x=1701351773; 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=WIX6Y6OmD18tbJ/H2yRFYnNOAfgH4KdfJCuauNIg3HA=; b=D2uOT1hLKrvZJBqbjWGSL7egFYpFSU8XxQdqC9em6RL8EKY2eW+LSOKvPIklt/Ef7j kr3e2YPMxl7H5uYUVqR4rfTZjkGpHw1ozxrMNyChrx9dnxoCb+FwNoB+8W5pAhcozlYB CsFr2jHHg/yOADB2Plk8xCQ/heJFUTOyMGgZ2qIOPwSlj0AHfJYXLQ2mR5IbPHqRFDuo n0hX8eKAtkBUili8y3We0E3FteID7jm3ck3fdCDBqcfID2Awdz+0ak1Z6TQVwck+XBBq JWvSd3OYCFSKixj/O27P5DMQXAP/P4jH5G1YTbv5iZaP+R0ON0xrjydieUV2gBo1ihgC Q3tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700746973; x=1701351773; 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=WIX6Y6OmD18tbJ/H2yRFYnNOAfgH4KdfJCuauNIg3HA=; b=rpl4JKAH6swZMYR4V6crN9n9xlaQBoSafSTz20yX5wY1X/xww9Hd1i/qgZBJyDTiZL OwuNg/QB8+doSHEbCrERVRqVtOgZGGoLrpSR82GM0n4BXTwqMZhwTvJiMaXY6VnLmcYa 4kWbRRaa8CvrHy4fVGpZEKtZWWHYrtYZOhZhw5UKQBuQIO9blJbdfTmsOOKahC+st/3B KMHHiUDe12Z2vGn4t66mVfLIfpfDfRujoOakAPxkasTQNCpNUtAbWVyTM3lVdxUotv5a XNVEHdsPQYXxytmdD0ISWCruqDoVmR1xi+cg4dUgQrN06i4r4RmTG5cDR2OivsDTFcry D37w== X-Gm-Message-State: AOJu0YyiRNehIONpLq4eUBXOY6+M9NkI+cqLhVGheGsWKigoebcUpRQq MZ2s39OHl/NdBIgMmmzo0ArLng== X-Received: by 2002:a05:6512:32a7:b0:509:f68:ed8 with SMTP id q7-20020a05651232a700b005090f680ed8mr3763564lfe.61.1700746973454; Thu, 23 Nov 2023 05:42:53 -0800 (PST) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id w21-20020a05600c475500b0040b2976eb02sm2067241wmo.10.2023.11.23.05.42.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Nov 2023 05:42:52 -0800 (PST) Message-ID: Date: Thu, 23 Nov 2023 13:42:51 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 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: <20231118-b4-camss-named-power-domains-v5-0-55eb0f35a30a@linaro.org> <20231118-b4-camss-named-power-domains-v5-5-55eb0f35a30a@linaro.org> <6e66875a-5cb1-42bc-86e0-b69cf73981c0@linaro.org> <339c3efd-8d2b-4b71-8dc1-cdc30ab7bb8a@linaro.org> <2628b928-248b-41c7-81e2-4e4252d2b0f7@linaro.org> From: Bryan O'Donoghue In-Reply-To: <2628b928-248b-41c7-81e2-4e4252d2b0f7@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 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]); Thu, 23 Nov 2023 05:43:44 -0800 (PST) On 23/11/2023 11:49, Konrad Dybcio wrote: > > > On 11/22/23 21:55, Bryan O'Donoghue wrote: >> On 22/11/2023 19:55, Konrad Dybcio wrote: >>> >>> >>> On 11/18/23 13:11, 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 >>>> --- >>> So, this commit should be a NOP within this series? >>> >>> res->pd_name isn't defined anywhere afaics >>> >>> Konrad >> >> This series is mergeable though the linux-media tree standalone, yes. >> >> Once merged, the dtsi change given in the cover letter will be submitted. > What I meant to say is that something similar to [1] is missing to > make use of the infra introduced with this patch. > > Konrad > > [1] > https://git.codelinaro.org/bryan.odonoghue/kernel/-/commit/f43942091c01c1f263a6e7adbcd0ed8ce723a303 Yeah, to be honest I debated with myself whether or not to include that patch since once defined the code here will execute looking for named pd. I'm not opposed to sending a v6 to include this additional change though, I've thoroughly tested on rb5. --- bod