Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp135118lqe; Tue, 9 Apr 2024 17:59:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMkyh7t6J2aqbBlgPUuuwmL4qniaJG8P5t5Gk7EiQbwHCjNAIPhOOq1R0kfbQYZ3l/jyDSkAHIqdfbHgSmOPfjreDLCBiIqdeAzBalIw== X-Google-Smtp-Source: AGHT+IF2toYPEF7s+WEgvXWbFM4Kj2d5yLD7qOfGeEXBGCVOW48N3zef6o4YWhAM8qenKkuGQfcg X-Received: by 2002:ac8:7dc6:0:b0:432:ebb2:2ea3 with SMTP id c6-20020ac87dc6000000b00432ebb22ea3mr1994775qte.28.1712710781626; Tue, 09 Apr 2024 17:59:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712710781; cv=pass; d=google.com; s=arc-20160816; b=cFMGvJG1Bkd0fSrMTdBeSg38KVqmoES6dPHAKgOX44c9ikgz5rNZGCQUhV1vnVjcVU 0wA489N0Rv33rdJncGHDHIQ3g2gSo6qIN78vF9KhlT8DF8/oeNgKD+afPujL33R5Pqp/ sz5ufhipT4e/IsWVZSgNDD3x1oKK8bj4ZF3Ue0+E8zu+4I7uhZZjZ+iwVpv9VS5z38Os 7MurEaZMByJsWJnm7z6+9LngBEzTZgdcux0dWvV002ajIe4cJai314JRMduGD1vn38Ow TtpVran9n26bNx9wBxqigqerOE4CRCvRYKi2FSIa+WfKJsrnXjnyVWxznR4pia3EqAaX Y1ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:dlp-filter:cms-type:content-language:thread-index :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject :in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=oKR9O5fGEyCFcm4G62ExjkYKNcmQzxsntbMqmBNuTzw=; fh=qjMQGPA0goAZwuD8WBpPpRdWeWntDfayGMLTSw6tiu8=; b=mTJrwb54ftcqC2R3AK64MG7Ob01wmKYE1mKEHu4jcqAPUAglbWnxdX8agNvsMXqNf8 9RcHduAbk2/owZmG1qtmjKLfyFBH4nf0nRzuNq2k3W+RE9FErpYduxS7XI0IzvRgryiL SnxoP6aC9YHw5HTtJ7rTUULADROPhFPvce9OKDjqmBsG7J/wPAUYYWCVLB+iNqrit9Pw A0VCJ2ZUvUkBfXgiWm+bGChW47hEwCKiWArhu3TnrVYdGd91STrwOvXIZCbNrvpdEMhs /ZzJ1Y48EJ9NXx1CHXNwOwvCld2kuGZ+mkdXvjvQ2FjkBakQ5WNZ+jwWtCXWhCtOrTUW ONPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cSUcSJur; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-137782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b21-20020ac87fd5000000b004310ba91cf5si11615037qtk.458.2024.04.09.17.59.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 17:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cSUcSJur; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-137782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com 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 4686F1C21A48 for ; Wed, 10 Apr 2024 00:59:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D0D620E3; Wed, 10 Apr 2024 00:59:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="cSUcSJur" Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50303EC2 for ; Wed, 10 Apr 2024 00:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712710772; cv=none; b=uymz5WhJRhJ0mU4WpiFB1WL+ANtE1v6vNtjdYq4NRPjbQb/KncdyeJxCnBQkaveJNC1foTRZkQn0WIQFDdzjMUMXIpR31sFewaQZRFgBFjYisw0S7fKIn7Zo4h3+G3f9Z8PjOrPTvgWYirHUYbcCZ6nhSVTmNQhqz78B5c8UFA4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712710772; c=relaxed/simple; bh=IYM17KR5sH0wu5fq9yF5lCEVAj4vI3cqhYG8+PggzqE=; h=From:To:Cc:In-Reply-To:Subject:Date:Message-ID:MIME-Version: Content-Type:References; b=JiC7L6D4paZWuKzenwT8zyo3BAxOfPgB7OsKnZw9g1rQhJdu1O1nRxz6l1vR6WSnz+LBHMIWba2euBg0PLUk7wY4wTEBKb5pH6hsRGT7g6zB7gK+bA9A1/cqEDwfR9pEvK+P+G211IeFx/HG8oSTW0j5Rng20fSQCWri/C+yQiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=cSUcSJur; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240410005922epoutp010fbc78ee9dfc9db5b6791b572016d2ad~ExV0eklCf2573025730epoutp01I for ; Wed, 10 Apr 2024 00:59:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240410005922epoutp010fbc78ee9dfc9db5b6791b572016d2ad~ExV0eklCf2573025730epoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1712710762; bh=oKR9O5fGEyCFcm4G62ExjkYKNcmQzxsntbMqmBNuTzw=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=cSUcSJur33x2tSoCdC3kiMK8ti3sKkkv6Lmo4JhWhg73j9IDZxrzDAmjjV+FSAbeh Ks2kbXST3uUUkHUAvH0dCgHa644/I8f6vVoQEUrKhrjNmcLzR/zUqr5dV9bzpn86ku EWWycqfoUeqwEfZiJhjcGviAjlW4lBweEnw8sy5E= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20240410005920epcas5p2a904a7fd347f4ffb4eb65b9d1dba79d9~ExVzflEQ52928829288epcas5p2z; Wed, 10 Apr 2024 00:59:20 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4VDkxM5xykz4x9Pp; Wed, 10 Apr 2024 00:59:19 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id F0.AF.09665.764E5166; Wed, 10 Apr 2024 09:59:19 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20240410005919epcas5p451ba8a440d5b7935bb36a53a7f0ffc66~ExVxwpfiP0641306413epcas5p47; Wed, 10 Apr 2024 00:59:19 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240410005919epsmtrp2912db7cb00a152e5c05205cfc43d115a~ExVxuuNda0910809108epsmtrp2k; Wed, 10 Apr 2024 00:59:19 +0000 (GMT) X-AuditID: b6c32a4b-829fa700000025c1-0b-6615e4670533 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 3C.09.07541.664E5166; Wed, 10 Apr 2024 09:59:18 +0900 (KST) Received: from INBRO000447 (unknown [107.122.12.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240410005915epsmtip296566b8d160466579c35fcad102a2664~ExVuJnHuN0394003940epsmtip2Z; Wed, 10 Apr 2024 00:59:15 +0000 (GMT) From: "Alim Akhtar" To: "'Peter Griffin'" , , , , , , , , , , , , , , , Cc: , , , , , , , , , , In-Reply-To: <20240404122559.898930-10-peter.griffin@linaro.org> Subject: RE: [PATCH 09/17] phy: samsung-ufs: use exynos_get_pmu_regmap_by_phandle() to obtain PMU regmap Date: Wed, 10 Apr 2024 06:29:13 +0530 Message-ID: <065301da8ae2$50fed190$f2fc74b0$@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJaURTOFBtz0klhjQ4XchDKhOUW7wKPBJe9Al10qBiwOb1wsA== Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA02Te0xTVxjAub23twVXcy0Qz2CZXTNjxIFUoJ4qDB2Kd4MRnO4fE4Z39EIR aEtbdHNxg0HB8RLMQqDgJLABdi5gJVqhIBaQIVmV8ZwS5LmJyvsRGays5eLGf7/znd+X73Fy uCi/gOPGjZVraJWcihfiTtit5t27PGPGXKO9XxZ7wdrnNzE4sdyDw4KZZRR23d0DrzdYWLBv 4S82vNpiYcNfTKsoLOu/xYKt2jUUTugGcWgY7WXD2exBNuyqK8Fhnn4Jg4UPG1kwq8+Iw8o2 Kwt2PjgKawqtGFwzGTmw+WUGG2aa/8GhtfcGBucefwbvDPyKQv3cGnLInezqDiGn+7UcstSQ RBr03+HkQK8JJ/PKmhDy5o/fkLPjjzEyt1aPkPOGt8mMpixW+JZTcf4ympLSKgEtj1JIY+Ux AcKQE5FBkX5ib5GnSAL3CwVyKoEOEB4JDfcMjo23rUAoOEvFJ9lC4ZRaLdz7vr9KkaShBTKF WhMgpJXSeKWv0ktNJaiT5DFeclpzQOTtvc/PJp6Ok/2mu8dSjvC/SHuShiUjF4lMxJELCF+Q kWNCMxEnLp+oR8DPQ5MYc5hDQPfiLGq3+MQSAhoGnV5nLKaYEUZqQMBYY91GxjMEGPKMuN3C CU9gLE/H7RcuhA4FjTU960VQYpAFnmhT1y1H4hCYuzyF2NmZOAM6DEaOnTFiJ0jOvs+2M4+Q gKH6Ug7D20B70RhmZ5TYAW5PlqBMTwKwPF6x7rsQH4Di7P4NZzuYaG3hMI7FEXRZKYaPgI6n D3GGncHzttoNxw3MTzXY4lwbk6Bs1Y0Jy8BkZTXCc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NwiErWX5f7MIljje8t0lO4DFh57wXICkw2DF aS3pAj70JRx+s9kxF8DpHgzWP4t3L2oAzMtuJ1zAg14AB4/0A1cW0XKoK83CXZmgJ8MMXd2o VUCHw1e3DHx3Hg8fnuj6s6X+SCVQWwbc/iB4o68Id18XDIe7z45OfehFsFDXRrg7frC3toaf D0T6MSb9f5N+jEk/ZmEAhAn4swoVl8xtkiqkaex2iUrGqTRpyZJNWzkzGP2R0CkVwHbKIbEC jAJWAClc7CMIDPVNEgoSZek7WeXWDUpNKquygkCKEPsJpAWFiUI6WaZmt7CsglX+oxjlEZCB RTZwwuErTGx9ufdZ7+7aOcv6Tk7sy5qjqUvYtfiypZEXIf8+EKYeWFbc7My97B23/nw0ej1i JNNXHPJqXBV3zV/aOSJaPyGmd6HttlZt2exjbY4LXhr967OX/Eelbp651B7gtSppfnDP4YTO qHM/ds8M53FGSWy7IcSmdnzhorIelhQlcMff2M8LkpVrSu/Ef9dMEnVpImFU32LwThsTcu0k nu3P9ayepbWOPIq1Y3vy1qpeTouZPbcogpFMnzLz6f6FhsELqf4Tfcf1G1c+TlheJ7wUlDmv KjrP76ijujiusUSaslux9H666rlJMDSyuqq78v3FGLyfFOcocrdphsSESi6ThuJKlew3LlI0 CJIDAAA= X-CMS-MailID: 20240410005919epcas5p451ba8a440d5b7935bb36a53a7f0ffc66 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240404122708epcas5p15f130c36300778bb61f8ea5cc0cce70d References: <20240404122559.898930-1-peter.griffin@linaro.org> <20240404122559.898930-10-peter.griffin@linaro.org> Hi Peter, > -----Original Message----- > From: Peter Griffin > Sent: Thursday, April 4, 2024 5:56 PM > To: 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; > andre.draszik@linaro.org; saravanak@google.com; > willmcvicker@google.com; Peter Griffin > Subject: [PATCH 09/17] phy: samsung-ufs: use > exynos_get_pmu_regmap_by_phandle() to obtain PMU regmap > > 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. > > Signed-off-by: Peter Griffin > --- Acked-by: Alim Akhtar > drivers/phy/samsung/phy-samsung-ufs.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > 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 @@ > #include > #include > #include > +#include > > #include "phy-samsung-ufs.h" > > @@ -255,8 +256,8 @@ static int samsung_ufs_phy_probe(struct > platform_device *pdev) > goto out; > } > > - phy->reg_pmu = syscon_regmap_lookup_by_phandle( > - dev->of_node, "samsung,pmu-syscon"); > + phy->reg_pmu = exynos_get_pmu_regmap_by_phandle(dev- > >of_node, > + "samsung,pmu- > syscon"); > if (IS_ERR(phy->reg_pmu)) { > err = PTR_ERR(phy->reg_pmu); > dev_err(dev, "failed syscon remap for pmu\n"); > -- > 2.44.0.478.gd926399ef9-goog