Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1520584rdb; Mon, 8 Jan 2024 01:37:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNmkZU9MiH3QtbTRP5iOd/136abu9ouGKNb0rPPYI1Sbh5BPC/bfkpXkVOjK+j8vnpIDgz X-Received: by 2002:a17:90b:1947:b0:28d:d16:3405 with SMTP id nk7-20020a17090b194700b0028d0d163405mr5427731pjb.9.1704706659241; Mon, 08 Jan 2024 01:37:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704706659; cv=none; d=google.com; s=arc-20160816; b=MrmbtDlE/ld4J2gspLKpZOZQAdWGfaxMSV2V4KRI1jhPAr+xk5nr2K/CDNyWrA1D8h J7Jto34zxRCMxiaF5rRx1wFECsYDE/AImPu4jlpQ/Cxssqya/G1M9DtWSxqAYaLwor/q voykhYhvzONhWifdZdqVEu39V6px18gf6KsWxSQ/vq/zmvoo+IQABiOp1AEPQsS0wxwU zZYk/j7GGiifgIfTU/gMM7oRseCOdPGssekhW3Yb6mUREBCohXO8FASn37P+BsdD4gVy QBqcdF9zujyFCX0Y6Ek04MOOXSEf52bQwfYzv5XHZW6nzuWQb8LiJw4f4wQFiDrRmrZN Ne4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=EgmUP8pmgeWt8m9GiYzK1BxjtC/IbjgWM+ZFGfeaRTE=; fh=5vf+uLzie1HRhfbrsNSTNabAbIF7C3Fqt/5w7JsYlGQ=; b=KUl6UlraWw6VfMLZ6QgN5OCgh13e3knQuHRLbu/Ye5PNe5KnKff2c75oefToHHJ/XW C1KW8fMzW3sOKTancGGSOzHJUb9fzROmmroPwyxYlFwCiwk98hsE63wZPKOkJRmCtXLp v+fWWD2BSoodWDVUeFs5rs+schL8LEg90SQ6NR/r8g0LlWtuSgZCNdzZZOoLjzw/bTNq /KOcXcYwo2rnI3QySbojK8hgbyz1s2fIcageszicWHvObXUadwCCiVsEk7KtggQF/gqV 3/Nxe5N2VNebhQH0oifQ75NGH1rqnWK/UFtcCYoUwwzQtsNUD/6GBDLV7uAHJB7HyQD9 IYVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19282-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19282-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y8-20020a17090a600800b0028ce39e6f08si5210735pji.175.2024.01.08.01.37.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:37:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19282-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19282-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19282-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C37162817F9 for ; Mon, 8 Jan 2024 09:37:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 612A513ADC; Mon, 8 Jan 2024 09:37:35 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 F3F4A134AC for ; Mon, 8 Jan 2024 09:37:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rMm4F-0005bn-HC; Mon, 08 Jan 2024 10:37:11 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMm4D-001DLw-PW; Mon, 08 Jan 2024 10:37:09 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rMm4D-004kGd-2D; Mon, 08 Jan 2024 10:37:09 +0100 Date: Mon, 8 Jan 2024 10:37:09 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Philipp Stanner Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Palcu , Lucas Stach , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Mark Brown , Takashi Iwai , David Gow , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 1/2] platform_device: add devres function region-reqs Message-ID: References: <20240108092042.16949-2-pstanner@redhat.com> <20240108092042.16949-3-pstanner@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u2x5uc4opgrguykv" Content-Disposition: inline In-Reply-To: <20240108092042.16949-3-pstanner@redhat.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --u2x5uc4opgrguykv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Philipp, the Subject is incomprehensible (to me). Maybe make it: platform_device: Add devm function to simplify mem and io requests ? On Mon, Jan 08, 2024 at 10:20:42AM +0100, Philipp Stanner wrote: > Some drivers want to use (request) a region exclusively but nevertheless > create several mappings within that region. >=20 > Currently, there is no managed devres function to request a region > without mapping it. >=20 > Add the function devm_platform_get_resource(). ^ Still the old function name -' Other than that I indifferent if this is a good idea. There are so many helpers around these functions ... Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --u2x5uc4opgrguykv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmWbwkQACgkQj4D7WH0S /k6A1QgAjuIEMw9O4acMUhaTNybVbHuVhhGFNsFpYYLQ/0HVR5Gsiu2H3fVD/Zsc W3iZjaXPDTicquu+VA8gGkvfz0/ezaFIM9Iip8x3UZ3+DsaiNtgkMSnr0hdM/7jp xoeV44watgWfq+1SaJm+qxHX+2xKWhLbKl0BFzis70MbTiogF4H3MbwoVwf0hrV6 IAcbQOsIhLPQ9Cd0q6MeOZriNdloXPGU4N6lPAmW+4M3cl3uLzFxE78nkCBCCvm/ bVZoBAjQnqbmyJbc1GDDBebbmPZKEkLu1TufZrqJq0w8aRHpzQARJz5xpHKP2Lsj uK/HSn+FHzyaLf3lCsonTJJailReHA== =AVm/ -----END PGP SIGNATURE----- --u2x5uc4opgrguykv--