From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (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 BF544383A2 for ; Mon, 23 Dec 2024 02:13:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734920014; cv=none; b=skOvHv8Do0jSzQSZjdCLJ/24076Q/4AVtSP0uvMr1HSAKlNTBReEqC0jyMq0Y72fDMplUh6EuHVTtSUu+bf6MJ6yVY0Em8+6GHJCFlhQ5xqi/Jk0sYaEIvUcGq8JAfvjHuB+a7Wo/ezRdK6q6Y2fNuQkxB4m80NUuVSlPqRye04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734920014; c=relaxed/simple; bh=WPZM93r5+XUqQtZ66eM9QKgc3vVNdl8jVTZQMwy6Bw0=; h=From:To:Cc:In-Reply-To:Subject:Date:Message-ID:MIME-Version: Content-Type:References; b=Od5YyqIA/Aa4zOBxP7OD0Xxq384x69KEmVJyYehJGO59w36y+yrCrFqhdDbluWl+RBcgbs/9W4tfEK/QgBzJaEeiS4x778Jxph7cT9+avc+wAUMPv4JID9C3muKghXvSJA4mg6rgGRIQUyPytole6QHcWigo6p6ZJycFm+ccI1o= 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=tDloVFYz; arc=none smtp.client-ip=203.254.224.25 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="tDloVFYz" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20241223021325epoutp026673830ab334941c4848c0ccf4bb187b~TrI13F8Zn0719007190epoutp02G for ; Mon, 23 Dec 2024 02:13:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20241223021325epoutp026673830ab334941c4848c0ccf4bb187b~TrI13F8Zn0719007190epoutp02G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1734920005; bh=1yi8VifrbHgYZt97+z0+c2/5hRN41YzklThVkZgjkiM=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=tDloVFYzYG3ZiFtC/IhTf91ENQFm2L9vv017kIQXuPQYq9/Zna57SWLkX4obVeJJ/ lWY/vqTpdDhy1ikOWgSctiZ8tbvjzyrCbjkx0quqrAj66eUkD3d/jr5qgd6z0pEtRp E3W5sn0tHRU4PKjKhs6d6XNhRqqop/IR1AKcuP3Y= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20241223021324epcas5p14dc32012cf9f48c37faaaafb237be46b~TrI1H5NuR1851418514epcas5p1K; Mon, 23 Dec 2024 02:13:24 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.181]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4YGhQB4Hdxz4x9Q8; Mon, 23 Dec 2024 02:13:22 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 95.E1.19956.247C8676; Mon, 23 Dec 2024 11:13:22 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20241223021321epcas5p4278f1753b6d8219259813a50effc9b5c~TrIy_iSl21096310963epcas5p4N; Mon, 23 Dec 2024 02:13:21 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241223021321epsmtrp2667826646f5cc5b85fa5063f4b86573c~TrIy8OhUL2478724787epsmtrp2t; Mon, 23 Dec 2024 02:13:21 +0000 (GMT) X-AuditID: b6c32a4b-fd1f170000004df4-a3-6768c742bb77 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D8.01.18949.147C8676; Mon, 23 Dec 2024 11:13:21 +0900 (KST) Received: from INBRO001561 (unknown [107.122.12.6]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20241223021319epsmtip17eaaeab248a473b2eb42fa9ee36b3246~TrIxFdnUx0069500695epsmtip1C; Mon, 23 Dec 2024 02:13:19 +0000 (GMT) From: "Pankaj Dubey" To: "'Rob Herring \(Arm\)'" , "'Lee Jones'" , "'Arnd Bergmann'" , "'Heiko Stuebner'" , "'Liviu Dudau'" , "'Sudeep Holla'" , "'Lorenzo Pieralisi'" Cc: "'Peter Griffin'" , "'Will McVicker'" , "'John Madieu'" , "'Krzysztof Kozlowski'" , , In-Reply-To: <20241217-syscon-fixes-v2-2-4f56d750541d@kernel.org> Subject: RE: [PATCH v2 2/3] mfd: syscon: Remove the platform driver support Date: Mon, 23 Dec 2024 07:43:18 +0530 Message-ID: <000101db54e0$3d4b15a0$b7e140e0$@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: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEZrw4XBTjqISieS499QzyO27eqOgDzNggKAYoQvF20YnesoA== Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBJsWRmVeSWpSXmKPExsWy7bCmlq7T8Yx0g0OLFCz+TjrGbvH/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+41CorrRCI931ernvkveBt3xLLcIv P1OPSJ6lF3/e8eI6zirXR2ECR35NvKC67Ou2xTOlFgfvO2/+QfSFw4ugct5ZWcXF8594s+he bpFeaP1rg7qWuH6B1r+V906fV9F/svI+13mPCRmrWCV9PVcyyMbe+KdcFtm8UUFQPc9Q8FiR eHxq972tSs9ZzFv1lFiKMxINtZiLihMBawSPxEYDAAA= X-CMS-MailID: 20241223021321epcas5p4278f1753b6d8219259813a50effc9b5c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241217181203epcas5p31615da7f180dd769388c5c8e8afbb1ea References: <20241217-syscon-fixes-v2-0-4f56d750541d@kernel.org> <20241217-syscon-fixes-v2-2-4f56d750541d@kernel.org> > -----Original Message----- > From: Rob Herring (Arm) > Sent: Tuesday, December 17, 2024 11:42 PM > To: Lee Jones ; Arnd Bergmann ; Pankaj > Dubey ; Heiko Stuebner ; > Liviu Dudau ; Sudeep Holla ; > Lorenzo Pieralisi > Cc: Peter Griffin ; Will McVicker > ; John Madieu ; > Krzysztof Kozlowski ; linux- > kernel=40vger.kernel.org; linux-arm-kernel=40lists.infradead.org > Subject: =5BPATCH v2 2/3=5D mfd: syscon: Remove the platform driver suppo= rt >=20 > The platform driver is dead code. It is not used by DT platforms since co= mmit > bdb0066df96e (=22mfd: syscon: Decouple syscon interface from platform dev= ices=22) > which said: >=20 > For non-DT based platforms, this patch keeps syscon platform driver > structure so that syscon can be probed and such non-DT based drivers > can use syscon_regmap_lookup_by_pdev API and access regmap handles. > Once all users of =22syscon_regmap_lookup_by_pdev=22 migrated to DT b= ased, > we can completely remove platform driver of syscon, and keep only hel= per > functions to get regmap handles. >=20 > The last user of syscon_regmap_lookup_by_pdevname() was removed in 2018. > syscon_regmap_lookup_by_pdevname() was then removed in 2019, but that > commit failed to remove the rest of the platform driver. >=20 > Tested-by: Krzysztof Kozlowski > Signed-off-by: Rob Herring (Arm) > --- Reviewed-by: Pankaj Dubey Tested on arm64: Tesla FSD Tested-by: Pankaj Dubey Thanks, Pankaj Dubey