Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp518816lqp; Fri, 5 Apr 2024 00:04:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtfSxN1uyZZA7y2Ur0Brc2xW/D2FikdRjXvbGNj4BW91EUKVRJfKj9kuM7hxlZpXUfkMMKxxngB7IIJV9kV6W+DPoCMeqclU0KbmQCxw== X-Google-Smtp-Source: AGHT+IHFJLOB+WDSSpB44oq0AK8t2j5lydG70eIVE0kyeQwQFzmrzD2aYv/4x6G8B/CsqYNs92fe X-Received: by 2002:a05:620a:1725:b0:78d:4ab0:84b3 with SMTP id az37-20020a05620a172500b0078d4ab084b3mr1245233qkb.28.1712300699182; Fri, 05 Apr 2024 00:04:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712300699; cv=pass; d=google.com; s=arc-20160816; b=WD60ds67LkJOXZFrIP5o1w4GI75Rgzu0cNfGYUguT1ZNT4Ky6+E1Id29Hv1kVuQyLP SCoqk3Ca4MYab7zEnhXioV/A6PcjjWoeio/6CULr5v0jfdCvNBbGZyvVyo9nvlTc4Ew5 xLp879kv5sJtVQmN7gLzq0p1G3WEO3hLcZ6V8bPBubGpaFS56iUiry86cengg10Pfmt2 0F3o1g/vIwRYevH9XgrrdBF/pR54Vf16lsd2Rnt6rOuK59wd+IsO+3Xlg3taazlLpoE9 PFGjc3Bk3xb2+eYkUimCluH5Iz0N1id/M8J8zFAkWlx7yPW9C3SIN87pS8XBcWdD/w5o PBCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=Ck0+pssPiWzof/P+3eKb2RoFHftHMIJF3LhSjby3XvY=; fh=EJzDVUO6z6sO5I9+V2plygDD4s8jufQ/WkqYyQu7y6E=; b=uG22CLUiWyaM8AFBqgdQEVak+H74IYUoDePR7IlsCqrkicKuwYzg0BPkK+Ye62y957 JQ03exYggPFC4nM9/EEuLAEEyK4LzSvv9Voavt+EkFmJHwxXuyslMumnrPZ3i0oCGqEL QZTg4amf1nHUPE9VIDbaqC66CA+MTwTU6dmpwHxeeOvCkQR+8YmQ3+0BOGhEk9UVSAbG jdDtc8+EkSpJfSF/JI+rZeNrZZrOhSFTirourp1yjl+bs3II4DuI9FZu5yYZSNdU8s82 aH23kA0ID8kTUKxX7SnTBJbev4hVjDxsMmdJHcCJ+mcPAoWJl67lwNDoHB7fqfOM/+hP WosA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=waSLGKA1; 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-132520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y22-20020a05620a44d600b0078a414660fasi1269647qkp.771.2024.04.05.00.04.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132520-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=@linaro.org header.s=google header.b=waSLGKA1; 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-132520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132520-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E24F81C216E7 for ; Fri, 5 Apr 2024 07:04:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 838112C190; Fri, 5 Apr 2024 07:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="waSLGKA1" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 0ABB6286A6 for ; Fri, 5 Apr 2024 07:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300690; cv=none; b=Lpfv/JweAtO10pRelmNthCEMfHaqcPUSB0ECxiGjcH0PvkBeRdjfBfo5ZU5rwBqKwWGfVjbyLbIpt5D/JZK5HVcwwto0lJE5166yUoXKB9hd3nq+cZCR1a8nEP4w/qsfjj/AV/95PXytzvpjtHXpgITQiUo+qAMSmtGI8f6OTGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300690; c=relaxed/simple; bh=JNrIR5alUd3utRpEaAHG1wb4hAjlRLdSxaXh1dOEDIM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=YwMTD8c20Kk1jSLFpFYFo3ldOdey8Q5Hq1LCXaue6FIizStmRKm+GI4gzqukiAkbOVzaMBrbbfRLTYCPWfx3uMYty9gssyuYhMJ1Tl8yQEv3e/r/E5R0bth4Uj2n3hEWQ+vbhabDZnsaUAT1W/1UpOJBPApC6l10LIHHaeGJtcM= 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=waSLGKA1; arc=none smtp.client-ip=209.85.128.42 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-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4148c6132b4so17159805e9.1 for ; Fri, 05 Apr 2024 00:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712300687; x=1712905487; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Ck0+pssPiWzof/P+3eKb2RoFHftHMIJF3LhSjby3XvY=; b=waSLGKA1DQ7kOUfKAc/oyo1qhfT3RPKLMcskXjWM/GwrFyrRt7C5+JqrjyHVsnTiVB YK24JOmtNGhBoR+u82p4+ZM6d9pdEhXLG9UKQlWp0aDysRrYItOYR+I54fH4fbI3IXcX 1NCViEn1a4IOcAXZL6rFQWx7Mq6XwgJKcNFJqNpb3XCLypbJnGo52AKdchCY92l2hBCN GY8yGTMecFrRuBNzx4qUi6fSVeUB1p2cr+Y/BvJDWL0hN114GouCidv7P+tYg/elNgE9 2/ktceM+ADkETytrP9KhkSVvomD/6IfKP7So8GRnmUTQVtLFG0GigLeiljgc8AcLZpk9 bCpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712300687; x=1712905487; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ck0+pssPiWzof/P+3eKb2RoFHftHMIJF3LhSjby3XvY=; b=srsbXmkgm7AFcsEj1xnEDVgR8x+luVe9wc2R9tji8qiMOrgS5Gkn36IKRx5dgedEC0 DRLJOImFpg2/SDtlbLSHhzzvGJ8nmHOd2E0Xk72D3Rn24kztflAVaHvdsyFwKDRadPSC 9br6cLg+cjM92Qm41ms7pYfOrLDfIBIQc6v2un/YCYdxd2LN4vClWUPkoXaaOx9jBc62 ri7L6RkmSwSjVkIi70d05HhWshHGaLQ3RUNDW4lxAyDdWu1XjzkgyOfCUiygeaSOSs4p aE6LZwED0acvDGlH3OAS+0Px14M7Mdu0c/ZZqPWoZMPvIWKRXRFM2QWqMwt+S44b0WmI bU/Q== X-Forwarded-Encrypted: i=1; AJvYcCX7WRvW7dtcYDRceRcYRK/Ps0KauqEMYZXfu2ACQ9Rre/r60w8PmvrvEuNhIb4HoV0lb6mfkp21G86yZ39vtbIbTp/bJKoihgTooF0U X-Gm-Message-State: AOJu0Yz8LRJgMaen8rNKiSNruq8hbfrUf+Qj+xvgsoGidMx4QiVSLNPu dfIFZCjQ2gx/kfw+i7tvN6xhRKLgyFM+PCCfa2347yufo3ce3/xT1PvSzYFa5XE= X-Received: by 2002:adf:ed46:0:b0:343:8097:213d with SMTP id u6-20020adfed46000000b003438097213dmr1322402wro.20.1712300687376; Fri, 05 Apr 2024 00:04:47 -0700 (PDT) Received: from draszik.lan ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id n6-20020a5d6606000000b0033e745b8bcfsm1247138wru.88.2024.04.05.00.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:04:46 -0700 (PDT) Message-ID: <95bcdc942cba564f78a6f2fe4cde892575838d5c.camel@linaro.org> Subject: Re: [PATCH 09/17] phy: samsung-ufs: use exynos_get_pmu_regmap_by_phandle() to obtain PMU regmap From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Peter Griffin , mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, jejb@linux.ibm.com, martin.petersen@oracle.com, chanho61.park@samsung.com, ebiggers@kernel.org Cc: linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tudor.ambarus@linaro.org, saravanak@google.com, willmcvicker@google.com Date: Fri, 05 Apr 2024 08:04:44 +0100 In-Reply-To: <20240404122559.898930-10-peter.griffin@linaro.org> References: <20240404122559.898930-1-peter.griffin@linaro.org> <20240404122559.898930-10-peter.griffin@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-04-04 at 13:25 +0100, Peter Griffin wrote: > This allows us to obtain a PMU regmap that is created by the exynos-pmu > driver. Platforms such as gs101 require exynos-pmu created regmap to > issue SMC calls for PMU register accesses. Existing platforms still get > a MMIO regmap as before. >=20 > Signed-off-by: Peter Griffin > --- > =C2=A0drivers/phy/samsung/phy-samsung-ufs.c | 5 +++-- > =C2=A01 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/phy/samsung/phy-samsung-ufs.c b/drivers/phy/samsung/= phy-samsung-ufs.c > index 183c88e3d1ec..c567efafc30f 100644 > --- a/drivers/phy/samsung/phy-samsung-ufs.c > +++ b/drivers/phy/samsung/phy-samsung-ufs.c > @@ -18,6 +18,7 @@ > =C2=A0#include > =C2=A0#include > =C2=A0#include > +#include You can now drop the include of linux/mfd/syscon.h Once done, feel free to add Reviewed-by: Andr=C3=A9 Draszik > =C2=A0 > =C2=A0#include "phy-samsung-ufs.h" > =C2=A0 > @@ -255,8 +256,8 @@ static int samsung_ufs_phy_probe(struct platform_devi= ce *pdev) > =C2=A0 goto out; > =C2=A0 } > =C2=A0 > - phy->reg_pmu =3D syscon_regmap_lookup_by_phandle( > - dev->of_node, "samsung,pmu-syscon"); > + phy->reg_pmu =3D exynos_get_pmu_regmap_by_phandle(dev->of_node, > + "samsung,pmu-syscon"); > =C2=A0 if (IS_ERR(phy->reg_pmu)) { > =C2=A0 err =3D PTR_ERR(phy->reg_pmu); > =C2=A0 dev_err(dev, "failed syscon remap for pmu\n");