Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1539736rdb; Sat, 10 Feb 2024 06:20:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGq+3ZbREJkqTG/ptBbR0y25rbkN2RNSKqoyDLObkMffKFK6p0WGPwNr9rc0i/n5rd2D9en X-Received: by 2002:a17:906:b855:b0:a3c:1070:8054 with SMTP id ga21-20020a170906b85500b00a3c10708054mr1363959ejb.10.1707574823661; Sat, 10 Feb 2024 06:20:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707574823; cv=pass; d=google.com; s=arc-20160816; b=Oy2a/ss6AJxTZGJZvV778+edQgMAaM4txLfyVnGMT2CVnxZWmPilJl+PpELn03JeIv yRKcegyBMyfCb5Pf1X4Mszo9WduzL+/2SR6+nGBmOXyDR0Z58uiT/GSJ+hBDtf1xhZyy /MZQptC96TjThhneHXLEQuk86mtQsFYsz1wttUOLg5+mEH0ipi4RIKD6nbTeFkuaGydY uwpVlGfsNzbe3RGx9Q7bUhQVxhMHYrDm7pExl2T7GYoBsCTlGw9RJjgb81MZCLc70cT4 HJCtmkph0mgMIC+fzUpZB5TGIBN68WUYtHN+406mZ6mTpqN/1D6EpD4da4rOAQYjiRzq MBKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=N6tj6pFq4vNzxv9pmKGjL/29KyKA1mP1XyWEer3ObuY=; fh=PHiiUYU/frdMhKoSybH2w1tViFUbbXt/n89x4cxeJuw=; b=LlIE0L2i57PLmzzpY2Tq2duCUcVyRLJGjlUWF8jIMrVsQwEZM428Gx9XALTcyi4Z+I ePbcehEhEW+kEjcytZBGqM0DA7LvpnrKpLVpnr3ofp7QwIqQ9mlLCB1ZtOQsCRclpLoa xfaVcZUS+SfQGDhFFWjV3Vx/YZ37rRV5cJIoiSmIuZOp5edx7yUnbEFSOhXvVWgrJVO4 4W6W47YrwgMorBs6DEIAYs5wrex+FKlgvcXSWE/7XFa/Azsn31EMoRJFzoTcRaiBvixy /dbAr/52+3C+g/O4C6CnE4WB2GGyM17tFYSOwvD19nheLMuxEWhCqTEI3QZMgcSeB6fB FPCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XBhSaj4C; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-60423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVMBkc9XJOQwGj8WL7P0HytWoxWVEabuGFUyqBFNM8Y/RPLbOmbO/O87rf1fcCy0WCgWE1xIcKGqshRNoI/IvXlK+ilykhqlQI2MZwxOQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc12-20020a170906c7cc00b00a37adf06a45si1899168ejb.258.2024.02.10.06.20.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 06:20:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XBhSaj4C; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-60423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6A72D1F229AA for ; Sat, 10 Feb 2024 14:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7C2F54679; Sat, 10 Feb 2024 14:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XBhSaj4C" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 356C15467E for ; Sat, 10 Feb 2024 14:20:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707574809; cv=none; b=s8Pi3FHOr9uDLqrFfHuhG0kwjSRNSQBjJQONWqFWje9cIIyuThgEa4/4d4fx7wHpsJ7HLMbKBj8l+j7/XjWKtvqF0t5TzXrGHWyC2wSHRlvNDfXAzWDa5NkP2gjNp4Azt1QDXxBEcUojSZo9TBp6f7jvxJ76cnGpC4VhJ7HrRC4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707574809; c=relaxed/simple; bh=JJeQNmVoicg69Hf75brIBRYAsZhv3CjVPhVLsH42ruI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jP+BotBqMBKw5rwRpgzs9rXE+X4WZV0EZyoDDQVBmkwf/Nyq3RAIgFfQ6C+yG8DUIMuikqqlxkG0hmw9NC5fLtGWktgqdaP4w3fugKKf+QbUAnCU/ySLOrIK1eVm/MfsvredtRc24Fzur4brlYHDgnwnxQ8tLjSsY81uLyz4Dss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=XBhSaj4C; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a2f79e79f0cso273198166b.2 for ; Sat, 10 Feb 2024 06:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707574805; x=1708179605; 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=N6tj6pFq4vNzxv9pmKGjL/29KyKA1mP1XyWEer3ObuY=; b=XBhSaj4CXAjOXV16NyhDc4pgZXyEnA2VhtMLrNN9cPHUn8WR5kKf0sDRehUyXGbDmy a/mn5tXPKnx9goTHqdzYbVK2zRBJAfOfEHN5IpzZ35zmklPVbi/IKeNE9dScSqZqq1HK dHC19CdXuOChRYHTqeDuhHrmZnD6XSu/iRkmPgZBIZheBld7LGWUZkzT9rxlAWIkdZUN oGSqsKw4g4/DBm/A6me1XC9FsU+Cg77ZlqJmtCj4uT/nKsKSX75OV2GSjXT3ACgmR05r NAmoR0FJkxvRKaVZiFAItscSWr/rRbTMuCrCimDCYzoYs55PyrcvD+JvY34m1lgExCwZ F/Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707574805; x=1708179605; 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=N6tj6pFq4vNzxv9pmKGjL/29KyKA1mP1XyWEer3ObuY=; b=WNzt54dgRx5XdXW75UwUD9MDs1aSuVg1xEA0VoRlXAzSSVuYjKyuJgNvMnkA23d6iV /GOhLrJ2KUZUGVUaagL1MthOmPciX6AK9uBe2HC7sPyAuUU1HU0sBlviVIHFyAIG+2PA wDHNuLJU7WYuaPk3O4crroV4vw7eLAJOrVvDVkbS3P+QSTwhWtumJHGSRwu9LNzfCRRG R787+/ioyrNwIF2IlaGk+Ymzo0uT/ekrULjhvgGQRHD3sPlDfKPK0BHeQPAJ+KooClaS LpsHWmgzfkBM+5m1f83yKXOTU4Pq1BhlLWVM+nmcykh8u/7VyXg05R1WbhpdcfkzdJlB pokw== X-Gm-Message-State: AOJu0YxOT2PxDzAwJfi0ORFgnLULDDjo8In2LHrONu6CnwPP16yEnKzM LTeztZTlOYPDgRdAjQ3dpqxESkHG59/he4YLZ/CPMJGDo2Do93O00NPQikve6mI= X-Received: by 2002:a17:906:354a:b0:a3c:6a8:e3c3 with SMTP id s10-20020a170906354a00b00a3c06a8e3c3mr1536823eja.1.1707574805228; Sat, 10 Feb 2024 06:20:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXkTG7yeG7cPTgqkNKF6BovSODqqUfJ9vaMapkqosjfge2vXayt2wNQNbYmmSvLMa7+9dm9QaH2CqUVH38jSFCW4D/KfM/+COnty9mxVBphzST5tLhSPhWbkmC7c6/S9iDLwAebDXFpthvXKsdQNIYzS9NcvdsvOKgWdAALamEm+qiwn+SLFp3PttUametEnsOBdC4ko4gvS1efMIFUQ0gO2MMQOBYA2nIsWZXX5SyZyW5kc4AX61eQ137Oa/mVXa2akMKSDHT3H5yG3ryMUgfWWlVHP1v775ueSd2u8dnAyF1gWzu0nLCvfvOgOOO4m3sbT+JXN+8OiYDFBphwiP6YZ4Ks6FJaQ2p/v9SmxUe7E+kHlU7075zhM24dRpZ+zQn6cCMqYCgIQ3zQUPZydq8R2TCnxhOfK64DtLWjIkB6jojqmu8fU3ZGCM9frrx27aUiGtp9J2NZ0Pkt2FBvnFDbilszuAEFt4u16LbrspSx8A== Received: from [192.168.1.116] (abyl12.neoplus.adsl.tpnet.pl. [83.9.31.12]) by smtp.gmail.com with ESMTPSA id ps2-20020a170906bf4200b00a35a8571419sm1828268ejb.135.2024.02.10.06.20.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Feb 2024 06:20:04 -0800 (PST) Message-ID: <18ae7906-5089-42b3-a511-6e301f116e06@linaro.org> Date: Sat, 10 Feb 2024 15:19:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Stephan Gerhold , =?UTF-8?Q?Matti_Lehtim=C3=A4ki?= Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20240210-msm8974-rpmpd-v1-0-de9355e6842a@z3ntu.xyz> <20240210-msm8974-rpmpd-v1-2-de9355e6842a@z3ntu.xyz> From: Konrad Dybcio In-Reply-To: <20240210-msm8974-rpmpd-v1-2-de9355e6842a@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/10/24 15:12, Luca Weiss wrote: > Add the power domains CX & GFX found on devices with MSM8974 and PM8841. > > Signed-off-by: Luca Weiss > --- [...] > +static struct rpmpd gfx_s4b_corner_ao; > +static struct rpmpd gfx_s4b_corner = { > + .pd = { .name = "gfx", }, > + .peer = &gfx_s4b_corner_ao, > + .res_type = RPMPD_SMPB, > + .res_id = 4, > + .key = KEY_CORNER, > +}; > + > +static struct rpmpd gfx_s4b_corner_ao = { > + .pd = { .name = "gfx_ao", }, > + .peer = &gfx_s4b_corner, > + .active_only = true, > + .res_type = RPMPD_SMPB, > + .res_id = 4, > + .key = KEY_CORNER, > +}; I don't see a s4b_ao downstream.. Though it's very unfortunate we didn't choose to add power-domain-cells or sth and set the bucket through that.. Konrad