Message ID | 87h6aw6j8j.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011062.outbound.protection.outlook.com [52.101.125.62]) (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 273B8139CFC; Wed, 4 Sep 2024 06:11:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.125.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725430304; cv=fail; b=DdKFYy0cDwYjn5TX90N9pt6DIZQoZgG+tfIQJ0QzS44YPN7bnHXsCFpv/YtrQpIU5p3sI1/qtnJyqD1L7w8ZedddqjTuLpz5tJ4e5Nv2t+LtJptEljSUgCKQLhTH+/o+BiOjFQyV8a12Wj3504014xk2Sihm0WwcAUqpVY3NY0w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725430304; c=relaxed/simple; bh=3avDV9IBpt7NeNj+xyVBG7meX+2U6B8EHCuw439A6pE=; h=Message-ID:To:In-Reply-To:References:From:Subject:Content-Type: Date:MIME-Version; b=pBba7Lybx+JOh7YIaLxHlnS6/T+1ADi1wx+vpln2C3aR0ufkpPDd8CvMZTYaWAwHRqlK+XpSY1MYY4YO6nnA18EkK+45ouaZRLL1OMuCbaHiFhBrOfPDai1MY/dDglK8CpaPb4qNXOBJFkGVVTI1LfSU5YO0bkruuSUJMI/xgKI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=NQmOPv8s; arc=fail smtp.client-ip=52.101.125.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="NQmOPv8s" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=COOvPaZj63/L+oFB9IIm+L0l0uIb2sm9Wwoi96f5d9OTjapnTtZ8Z7zaryPhGUfYgtRuDJ9JIRrLLNwkuM/pXle8wpDBfS8TB3Mfk7gour9c25pPeXttAq8xZ0J+jgbQjdQWVy0rz84rDqi22CpTQzVBKhcRnZ9w0WFsZo5nnZX+OkknBNCM7La79xX1VzkCEACCkj+9SMVbRHyNyKCJR7FKeVQX6Ki0rIRU/Adfvhi5dw1QzgP5b/8vYA82wC03SY2rznkvV/q/z8EzKnI0Quv8X15uew8O5ItwzPHQLV8IhlZNMnk4OPHk3UOEWWabGlZkaVK46MxifqttggrzQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1UeslM4FQH6N1O2L6SqbvVyNONUE0o4X2TQYeq8tCfA=; b=QEy3pLrC5MwzdAgjOG7UKjmDrD4haZtJYEgNl1zvOFDQqQeRjdQWQHyfVNoCDsUDq+ko6X7ZzzR9ToLY30xrcTh0dMLfgx5xTfoH4/Rqagbp9CZsobh/np4NP12iK05YXG1gVXq05GdF4g73mUbcaL5LQrFRUtqSvLWTfoKzfREzFtO27mVjuCQlq3I8cQr/ENb4Jh3AiuWv3J8qFT2nF4hRjkiW+c/H3RlRZii9vjCD3731o+uwnXoojEJ1a3BWyCdEEBd+ckd5gngKNwaEiIAerxM2OFrCU3oKzki4oLFNm18irK/lCgr/eNUCiwXV4+6BbhAvHKXn+IS46rln0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1UeslM4FQH6N1O2L6SqbvVyNONUE0o4X2TQYeq8tCfA=; b=NQmOPv8s9IRfqgwG99WcgnnEFgsCFBx857iIMUNytImWGxafUaNr9aaWsqS+14gJqfVTPPZjyFxenaAzXFhRskPckKJ+6hiS4RXryiai44Lb9L2RphZP5WAoGUlfbP91xXAwDCqwxqBKJ7KFMrzigTqtrkwKQw4emiKo2/D7raY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OS3PR01MB7309.jpnprd01.prod.outlook.com (2603:1096:604:11e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Wed, 4 Sep 2024 06:11:40 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.7918.024; Wed, 4 Sep 2024 06:11:40 +0000 Message-ID: <87h6aw6j8j.wl-kuninori.morimoto.gx@renesas.com> To: Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Helge Deller <deller@gmx.de>, Jaroslav Kysela <perex@perex.cz>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Liam Girdwood <lgirdwood@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mark Brown <broonie@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Rob Herring <robh@kernel.org>, Saravana Kannan <saravanak@google.com>, Takashi Iwai <tiwai@suse.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-sound@vger.kernel.org, Sakari Ailus <sakari.ailus@iki.fi> In-Reply-To: <87r0a06ja1.wl-kuninori.morimoto.gx@renesas.com> References: <87r0a06ja1.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v5 7/9] gpu: drm: omapdrm: use new of_graph functions User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Wed, 4 Sep 2024 06:11:40 +0000 X-ClientProxiedBy: TYCP286CA0361.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:79::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: <linux-omap.vger.kernel.org> List-Subscribe: <mailto:linux-omap+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-omap+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB7309:EE_ X-MS-Office365-Filtering-Correlation-Id: d253dfe5-7d3d-4296-36bf-08dccca87147 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 6G7SYOzV1HjALQ3d0vfdcJLhvV8IZyZVAi9kuZaArpDb/RSIAMHG7/A2g5jQtlzkTmI2Yl5+KjsIN3ltZdy7e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5KqQZwbJ3TZsA8dbBpMGFmFS9BV7daAKWPDWCgslK8bP7wtgxDIdgK59Dc39hyZSk0HoJpg49ywdlPr4iyvijB9ORapEDTaH7rqwJtNFkgrpRjFrrH7+JZ/yqdAPZGARjzEm9/jtyqF2tIhAR5tu4oX3DTa58GxzIp70Yp2R7xgiX3TYvjXd9FPRIUC7DkB0eikpKK5/pumPhp2/Xb/dCt372Ky3ZdtSQ3p6rw8Qp6Uc3KwKR7Q0ZMaZS/l0s/uJ79K/wiC9rHchzTO2W9DW8Oil7Dg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: S9tdBJEcJvsPXb+NvZwVYH+GCulIUXDKXMJaVDvisEYo6Ow5+jCWfIIq3vrIY0IMNLa7+zCYw6Gl3PZ3HulUuXxPvW6HjfWjbAuvADoitnLr6tC8hcp1fAvANNgkM686wAETkMOlEvm4HgZpf4isKi3Sp7Oi2WsGQ4OB9ecZK0mKWlydmvXabOfDv6B/H1gVoGVuoLA4m331zf2LSIHCgr6InZLwBpxNe0hWfxPwJyNU2M6lLE8YbHyeiozFlsmoJUhCHwP7oKAsSMjTPZWenN5HzEj+b0pwatAxyIEVGUhCaIqUdXD1HEgp68olAoYTsxdNCNoVekWawUhKf1DmmIFvozDoUepjUPMQoQvTnUlVr5S2DfsYHfSp9uftvPGVCdp/nWgxlksFWXoj4/hWrU9DmViY2fDTHZSZSa5iab4m8MkXj/jfO4pNVgHD1yudyqog0Ceb2eNIMGQJSNenTysm6obmPRhNufHpDrUhmshVK53jhVi8Wv3CRdFrWOLTgYzV9XqdDDXH6IENYTnkpmSw2vLMZPSM3wTK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RLLYyRXS9eLRZH3lgoysEM8= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d253dfe5-7d3d-4296-36bf-08dccca87147 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 06:11:40.7814 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: C+DqU+/UL3IwtHwREdW0URNBD+/7W8PPXi4lMO/17AddVsUxDXAHrhU8c5rVezmOu4nLaA8cQMh/pJQoGk9i0Ou+0JRRgCvWuv5a6Y7qA7PdgFh9mnVef04UxXTTGO7T X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB7309 |
Series |
of: property: add of_graph_get_next_port/port_endpoint()
|
expand
|
diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers/gpu/drm/omapdrm/dss/dpi.c index 030f997eccd00..b17e77f700ddd 100644 --- a/drivers/gpu/drm/omapdrm/dss/dpi.c +++ b/drivers/gpu/drm/omapdrm/dss/dpi.c @@ -16,6 +16,7 @@ #include <linux/export.h> #include <linux/kernel.h> #include <linux/of.h> +#include <linux/of_graph.h> #include <linux/platform_device.h> #include <linux/regulator/consumer.h> #include <linux/string.h> @@ -709,7 +710,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev, if (!dpi) return -ENOMEM; - ep = of_get_next_child(port, NULL); + ep = of_graph_get_next_port_endpoint(port, NULL); if (!ep) return 0; diff --git a/drivers/gpu/drm/omapdrm/dss/sdi.c b/drivers/gpu/drm/omapdrm/dss/sdi.c index 91eaae3b94812..f9ae358e8e521 100644 --- a/drivers/gpu/drm/omapdrm/dss/sdi.c +++ b/drivers/gpu/drm/omapdrm/dss/sdi.c @@ -11,6 +11,7 @@ #include <linux/export.h> #include <linux/kernel.h> #include <linux/of.h> +#include <linux/of_graph.h> #include <linux/platform_device.h> #include <linux/regulator/consumer.h> #include <linux/string.h> @@ -346,7 +347,7 @@ int sdi_init_port(struct dss_device *dss, struct platform_device *pdev, if (!sdi) return -ENOMEM; - ep = of_get_next_child(port, NULL); + ep = of_graph_get_next_port_endpoint(port, NULL); if (!ep) { r = 0; goto err_free;