Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp273621rdh; Thu, 23 Nov 2023 03:49:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyJqY6pXj7EMS0Ae56ap9CSSZR9U7+TeCvSrnVdt+4KmXSMxmJ4azbKkTwDG8lXsFtFaOx X-Received: by 2002:a17:902:6ac3:b0:1cc:373b:f0e6 with SMTP id i3-20020a1709026ac300b001cc373bf0e6mr4612820plt.67.1700740186344; Thu, 23 Nov 2023 03:49:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700740186; cv=none; d=google.com; s=arc-20160816; b=Rnp+NJv4EWNxjH2r8IBZh4O1vWTpuZsP+6YjBb/AAWzGYu3352m1DF0Kg0+1+xXCAg tTGbPqMup+b9LWzcHUeFhUJvUP6H3p4T4MaI8M6uSTKNzU+u4jh2ymiVGjT3ON0bGS3x FccdWAa/fbj6/lMF/IQgNWyUJld5C4T4V0JN8msfVQzaICl2PAVwvDC08Cf/WJLeCKhv e5q9uQYF/9Ds6vwLTz9A2gfrttdPCzW2VfJz8fhD1ZpgL59K4kAfUhNbE5XQnXokXQQY F3rYE6s5qBA1Y6JXuz2qyk2iwsAgTc+jrsTVQ3WH4Ojf9kV6x2quk1Ffoi6QARBE7k/W hv4Q== 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=zodyNt8HU4L28WXiwaDHTNOJQKBgwAnxPffi7XClyJk=; fh=FOwmIRuy7LSfW1ynNtnPg7u/Pv+Nz7Y4K/4oivuV384=; b=WZILLoYsOH876E4X1Gj71fdBZBSuj9zHT/IGKlC2o88HUR2nO8gv+eyMx/69vwSPP2 5yzULrIhV8mdphjv51aAmdlhnDKmQtDwF1MF77ewypBkz9y0ACmFuuK4DWHUFni8x888 dNICb/ha+EbkkGx/DH5WnCsg7LId824XqaZGLn6fbvuC21SUrEM5KfQ5KVE39dVLmps3 mf30vUOgz4FpJRp9fpb/999CRb+zOdA7szITYd1N8pDMK9HFfQmN1W2R3Vglh76mtazX pi6MrYZAzXjzjdThys5uMvK8nsBlNgrAP6yhs+eC1B26rKPTKA910z4r8875+SNwh1te ipvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqcoSxCG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u8-20020a17090282c800b001b025aba9f2si961276plz.22.2023.11.23.03.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:49:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqcoSxCG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 762C380859B2; Thu, 23 Nov 2023 03:49:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345117AbjKWLt3 (ORCPT + 99 others); Thu, 23 Nov 2023 06:49:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345105AbjKWLt2 (ORCPT ); Thu, 23 Nov 2023 06:49:28 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B86B199 for ; Thu, 23 Nov 2023 03:49:34 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c88b7e69dfso9374561fa.0 for ; Thu, 23 Nov 2023 03:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700740172; x=1701344972; 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=zodyNt8HU4L28WXiwaDHTNOJQKBgwAnxPffi7XClyJk=; b=TqcoSxCGXlxkQisfvPMHs0KTR0U1e7BokgKL5LJCFpbZSsD6WmUKz7Tbbvrf8HWEpW 20QngTkecoT0uEQV6f1Lkygl9aAk4TncuKxZXPVyEVW8pAI+qk+6pROq4paCKWYEd44O NToQhmZjblpsUA+XgkRYjxcpbiWjmR4yaVlqi1YEZkId+Ndv3u2LqPsX3nT9vM84YU2Z fqqOp/XCQDeq7a4AS+N8l5bOUB94/KhR7XIEVW7r2IjkL26sqOfdZvqvgeYdSnXdezTS I3ERqjzWugYIsoi9aypfatpq2UTR1lKzi72TsEgGr2L4h9JUD2ZeTAs5w1Kc8wsl4EU2 32fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700740172; x=1701344972; 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=zodyNt8HU4L28WXiwaDHTNOJQKBgwAnxPffi7XClyJk=; b=CSOt5nN+cdmzu55TP8+L1oThphtdJ9nvuNXI9iYQStFLICGsHEVIzQvqmrbAmBDyYn KXVut9DI4FvJw5kNWlt0g2aNUx49DZVwgogBMU8Yk+QNDcixkiP5IvuIhomKoEXAYtpd np1XIeO7jMbZZdlvXagfG1qPjyAhYp3gh+zf3Mg6BLORJs5AV6kCiw1K75UedumyKuPq LghOioXlPFablj0+ZsffjdHcoE4oV1HnYsZdszA5o2tHfw1ECh1TZcuc8tC7LYiNw92U 9iCcJKnuiBW54QBofImXelGUaw3S0pJn5aYbXcSDhftSXPywCpOOyyAhhGl9MW4Y/+/y w1Zw== X-Gm-Message-State: AOJu0Yw+krK2oqmMBxTHxs4i6z2oIsanSGQ1z1xJ9FOzTZwBXslOEJXp oT4DiYfuVBKZ0kIPR/c+nE0KWg== X-Received: by 2002:a2e:b604:0:b0:2c6:efc6:946f with SMTP id r4-20020a2eb604000000b002c6efc6946fmr3697514ljn.30.1700740172318; Thu, 23 Nov 2023 03:49:32 -0800 (PST) Received: from [172.30.204.221] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id c12-20020a2e9d8c000000b002c505793a23sm164296ljj.109.2023.11.23.03.49.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Nov 2023 03:49:32 -0800 (PST) Message-ID: <2628b928-248b-41c7-81e2-4e4252d2b0f7@linaro.org> Date: Thu, 23 Nov 2023 12:49:31 +0100 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: 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: <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> From: Konrad Dybcio In-Reply-To: <339c3efd-8d2b-4b71-8dc1-cdc30ab7bb8a@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 03:49:43 -0800 (PST) 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