Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1979702rdb; Sun, 11 Feb 2024 06:15:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEp1KatCvZc/bhY815vChhxWJIYNEdWaYN64JXfBM2bjtPzGwRH4GqdaqJJPhiKTkd9OhaH X-Received: by 2002:a05:6808:1cc:b0:3c0:3767:31f6 with SMTP id x12-20020a05680801cc00b003c0376731f6mr273102oic.48.1707660923996; Sun, 11 Feb 2024 06:15:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707660923; cv=pass; d=google.com; s=arc-20160816; b=M3TTlTI0lk7zPje7Sp1zr7GZ7pWb4kJS8uQ9BLJj8mB2plbXr63zBw56tgSwUY3Eob jwz4peQLMNs/IEAGQvXkmrF1ICniowxq0/mKYsBfKCFar7hSMNheV4W3eiZ2IYpytm5a t+DEtTXvF5sfQwCQDauk1P4RQW/V054nsptV9vonMOwOpYoknxjY5+LfJIzpnMs15xPh E8903o2BzxqNRKNh6Yj/91qpROgy4XMCyRVA3tR5NtVjtXvwJIbcDj0ivNOseTx5PvtF ZpZEizEJp6ZQA8vupkpsARdAHMHH75y3QT03MVajPdPRYdJQ1ZkK2DPPxoLWfHeGxQr2 scXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aCE6/4e0PX5uhtC4MYavADrsnxmo/AoMnFEALnMGodQ=; fh=JrLiSebFqplvLukV/djVQ0xfStwg927A84m8Dh6yF/4=; b=BBTZuPKw5CcAgdE2Y++vt7XpT931ro3oIaIxWqG3tJS1BnEy4bRjUqIpHkoxNGLzSs Og7NlYgFAucMEqhfh8xrcVmYtDSaDYditipy99xN2IYNsaYak7STwXFWX78Y9NzxQmFB EOJ/f7O0API/0RhfIr5jaX4vzbfaMs/M2t2Cy0auGmvPYQn+5K6XnLGj1ux1TnxdRLBa dCAU86rQqsLBPvtAkRPfOs3mVwo2obD80vUqWhoL/MZvw0cYqLItxR3DLjIoMEsC6Brh U+vBhPR0q2j/o1h89JseiLPjnLoMt6xOkHaC9kmYxTUdW7s/aU4C7l3G7b3HuIjvC5MT vYpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=izGw1yWs; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-60459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz X-Forwarded-Encrypted: i=2; AJvYcCXMOaIh6H6UxnE1IVeWCXpwO/iWmlWeFbi9Mfb+6WPMvyQ9yhTKk4MaMclPAnQMAknJbsZfxMTsrVDTdSXDi3OpmVHOGhZFcxbjWCIOqA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u26-20020a05620a121a00b00785cab78a79si2650450qkj.783.2024.02.11.06.15.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 06:15:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=izGw1yWs; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-60459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1EDAA1C22B50 for ; Sat, 10 Feb 2024 16:31:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E69D5C610; Sat, 10 Feb 2024 16:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="izGw1yWs" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (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 136C941C87; Sat, 10 Feb 2024 16:31:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707582672; cv=none; b=ZCZAlhf5j3xC8t/HOIegj+BZ4sW4GhTazsq8VQWTMu8E+U+ZObmfPgj0ZRD4fcDlvlkKGpyxGiiz+J5RIo+sLVhacFb5RUFnOIS3kmKLOHO0KXi1vAuK3wBOWp0oKAk3jizc+oqCLKqB5Id3FSmM5fzYaT9zSWuVvstbYfdVnyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707582672; c=relaxed/simple; bh=IncA1VMrA6tuD7GF+f2a0bUCatFt+ciCkgzzDC3uVAY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VjVw86NtiTQ9Y2TZP8PMllTa0UA/nq18FUktozKrFJuf6iaGZ+EvYdRj7i3titMzYtdSWl9Uff9fxkBOQmeQeWMrFcE8X+BtssRXFUbtGlJKStwlR5W6K17NTcV9XnlHYygrlVUAG2HGY1aS+6z0ZNOncdGf7qI6KBQeq8w+G+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=izGw1yWs; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1707582669; bh=IncA1VMrA6tuD7GF+f2a0bUCatFt+ciCkgzzDC3uVAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=izGw1yWsOH2QZrQIZAsJDTMJIuBMNJt7Bpeaeh/XfhUhXMYA/jNUZkRkT+SiQhM+I uCysQg6CG68EvsyzlsNnAEYxdwvRwcbdZpULod9Q0r5tABYn/N4GlnGgJb4bs8QpyO xR5OqOhzewQdDmcKz16rByI2OUbRMl3KCGk2ujWA= From: Luca Weiss To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Stephan Gerhold , Matti =?ISO-8859-1?Q?Lehtim=E4ki?= , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains Date: Sat, 10 Feb 2024 17:31:08 +0100 Message-ID: <2171119.irdbgypaU6@z3ntu.xyz> In-Reply-To: <18ae7906-5089-42b3-a511-6e301f116e06@linaro.org> References: <20240210-msm8974-rpmpd-v1-0-de9355e6842a@z3ntu.xyz> <20240210-msm8974-rpmpd-v1-2-de9355e6842a@z3ntu.xyz> <18ae7906-5089-42b3-a511-6e301f116e06@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Samstag, 10. Februar 2024 15:19:54 CET Konrad Dybcio wrote: > 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.. Right, overlooked that. Will drop gfx_ao for both this and the other patch. Regards Luca > > Konrad