Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp187309rdd; Wed, 22 Nov 2023 12:55:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJYLX8y8HpRfKOFVSHwE1tA0sSx1RoOWWsA3q9WJMERVyFJi7h074dJiklv8szr34DSIgu X-Received: by 2002:a05:6a20:918b:b0:15d:4cf1:212e with SMTP id v11-20020a056a20918b00b0015d4cf1212emr897003pzd.4.1700686527564; Wed, 22 Nov 2023 12:55:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700686527; cv=none; d=google.com; s=arc-20160816; b=WjdQDb/8/D0V3mAaxcwdTSGG4KoOKz2vgWXo21AYMEPA7aYKghMDC5ds8y/LA86x9U /WcCr2tPfMSwPIyJc8JPnxvNRp0VwCj4i7c/9L5pY+4wtM189gLPufgE+bkJafid5IKe 1TMY0f/EgEArjfwnpgQeqi6U5+Zj394NjsuxxdLA67oNVYAIGrWwkzZiWGgcm84lcqcM go7KFULdmGR/tWMgPV/0SyU0uWmVafwEcSbayJrmPWHm7O7ce5T/avfhBIsmdVGaH5vW cJHkN9zxFXAeuv+IZJWZQ5MlBXX2cSYU6jFELqjGAYOtL/ZIPZ9NQoagR05I173DMOSx wNUg== 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=2t59Fa6x9+OMKFeAiyu6I2ztOlailS3HduNbUQsClFM=; fh=uDD1y7bDoG68mimeqFC7o1eTaEtPwl40wpR+yEHG40s=; b=qs36HjiIa/5HqWUa6jLT/RAKibMYqRvQXXLFCsVd+MpIvJcphE7zzWpcTp0NtGxc9e Om/iGbgt6qs2sPhCVeLyepP52eysutwLoCFHV2NjK2w0K4zr8fr0N9Su7D5sheIyTDjg Sj+rQd8lG788vMV1TyWxe3aZLnzdecafBFWWq3OiCdyyKBo/XoBmEfiJ+M1ufjPAbwuQ y082att9uIseFtV/1Kv+0y+WPmoAHNT7eVdtqLF4CH6xdzBQTTiUsNBavXrbi4YVhN0Y gH3vnpbm9XNSS+yB0sge8eOWJoPJSkmw2NzeVyp+LBiC2AWAcneJOXBUcrylR89cGLg5 Ohdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FZkkrKaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b17-20020a656691000000b005be10ed80d9si246921pgw.177.2023.11.22.12.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 12:55:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FZkkrKaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 7D7A08043910; Wed, 22 Nov 2023 12:55:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbjKVUz0 (ORCPT + 99 others); Wed, 22 Nov 2023 15:55:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbjKVUzZ (ORCPT ); Wed, 22 Nov 2023 15:55:25 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B65B21B6 for ; Wed, 22 Nov 2023 12:55:20 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id ffacd0b85a97d-3316ad2bee5so83291f8f.1 for ; Wed, 22 Nov 2023 12:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700686519; x=1701291319; 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=2t59Fa6x9+OMKFeAiyu6I2ztOlailS3HduNbUQsClFM=; b=FZkkrKaNeqV77kB6J8pxnhX4M4ex5iikAn9/V1Pw2CNdNGtFDyQwwd2am2jmMdSbI/ uzzR1NOlyhflTroaYvh+urXF7uWTp3VzO+trAF3eU1PfxFexQU6Ybqn5BGV1qkVD78U1 t7OIa1J9krn2HiYfMsbuD7Rz2CXPevTT9FVtZyaAraJi7FQD+OsU4tEFUwose/PS8FNI 3Qj1Mo8DeKpxzhYeP/XMHI+H7dOhHEInAWhPjvY9V6mod94PfehzT80CDbT5GPT+L9LX 9BE+e2puI2zD4LXzVcojDSluACz+xOzEzAHjWchaPvq1DKpanS57GqRLs3hnBoTiGdFy ZSUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700686519; x=1701291319; 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=2t59Fa6x9+OMKFeAiyu6I2ztOlailS3HduNbUQsClFM=; b=C3rmRk4dVq+hTEDxSIUiUjnrITEnbQhk3Hdfhui9T8HiaSTAmebq/TlBmJwmSSdHUM EtMIJK3MRVMx6oW0z33FFaSV636Avt/g7sc3bSLp3eTchubkWS6e8TmUEJ0O2O01hNXn xx0kvYGvryqGuBC+wsV6WWgCLwUIy45aaoT7kMDgUb0C7TaC/ONqubkiOZwtGOJrAcHE LNGIJYVU3lcTTns5omMGrA8zb2ly+wiGXWXUG+WVMZAhkgoteYm6UTfXuReX/hOE6VTu d0D3xTQOKPEBDcW/B2XxqzJ4+5JCEUSRjfdax9Fr07G8O7TibCp1LCdbmeAW4HnacV4p 03mQ== X-Gm-Message-State: AOJu0Yw41nG4EmzguBWkWAQfBlFspL1T8kFTrWDNUuQ3LPQOm52DaoLM eliObL827k/UML245D5PzeOpvA== X-Received: by 2002:a5d:698f:0:b0:332:cae1:c610 with SMTP id g15-20020a5d698f000000b00332cae1c610mr1190003wru.23.1700686519116; Wed, 22 Nov 2023 12:55:19 -0800 (PST) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id n10-20020a5d6b8a000000b003258934a4bcsm306193wrx.42.2023.11.22.12.55.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Nov 2023 12:55:18 -0800 (PST) Message-ID: <339c3efd-8d2b-4b71-8dc1-cdc30ab7bb8a@linaro.org> Date: Wed, 22 Nov 2023 20:55:17 +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> From: Bryan O'Donoghue In-Reply-To: <6e66875a-5cb1-42bc-86e0-b69cf73981c0@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 12:55:26 -0800 (PST) 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. The sm8250 change is posted here : https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/b4/b4-camss-named-power-domains-v5+sm8250 --- bod