Message ID | 871q292pu7.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011035.outbound.protection.outlook.com [52.101.125.35]) (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 30F4A14BF97; Wed, 28 Aug 2024 05:12:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.125.35 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724821941; cv=fail; b=WsdLGBkIRYN9mwdxQZwkqCTNioIFbRE1SADcf+WJNOOIRXB6QLxz1X0x1qWWfrjno7UAuFRk+KJbTRj4MMh4R9anJG2IPvq8pi/yiF0R4ZCwNqvrE8/fEhQOW/WvBGvn4+RoqMpGLrJD89X4jN/kl/NeKo9jyFbItgrEBMkT3eE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724821941; c=relaxed/simple; bh=3avDV9IBpt7NeNj+xyVBG7meX+2U6B8EHCuw439A6pE=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=JG9R+Y+bmZ3NGDz7arLAQj8elccFLVWE2NDjlCQUO/s91fA8cmDMuWMuV4FsCmfVf2YV8SHH8d55MVHJghaI4oLSAldkKTvcUcXC06rL152qWWBzDPSaiirqxAJOglD+zXC5LLk3jbs8N1RuoXmzF1EI+qxXDFtSdDxUBZlhymM= 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=HO4J+wn7; arc=fail smtp.client-ip=52.101.125.35 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="HO4J+wn7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=J4q99qRDMEEEos30gYTovgLVQEDbPtha5gWaBH+4fniRNIdP+UcWXCkO5BThpnD+AYR82S1WYbrBBIS2JCI0GgM6OX9e0+3Bwl7E+gm3uvX3n4CEe6oRmb0FgkXlYoZ/6XDHAPxpSzORqL7Bvgm9ZraFOvco+ITpKWUACfTSQHBf9wrdk00sMgxrIInAV7jLr1LU9yHOq53BZXFXZ1PekVGIj7TjkgoouPZ/tURivV072uEelVFL02VcPDTsanmpx2zU2sENS9gbPPsL8jx2e40ANEZsmYAj7I+Ht1PwCxdGCfoKZRzfknNINsLR4LJL/yhEh1yilQyJQ4xVblrIaw== 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=M7IYzIIOnHDAgj+OgXA6Ds2HHlOQ2ne0nf8ncdfgf7awCXZr+cisuI7GiW2/joZ7sWR9WgFTEUvvPOrXmNaKvcJpewPN1WRu6WxOmUA/47IBSN0sEtWKrRg4PbcnPVm2ex2t3T7tPT93Y4fPJfzkXmyR/m9PnUYJ0BdE+U4l7LZyzmK2Qsk0Ki1B5flmHeCxvhGA+9chF47B+nslsqSPugTMTjrLb7v8qh9TL6lYdU4ezSnMx/11ZGRYuqFdaPZm4JK2P4e9tgTgIxs1FLA4AO0lfgSSXzUWr5s+jmHCRyo3DuNoGQUQkrrJTHNv8QdRxShh/F9wpG7j4mNzkMZDag== 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=HO4J+wn75TXcLCKs663XkcQHEhidWQAdaFui3T+C9Tn1IehZ83s/MNmtnzu5wjOUX9TxhDi1i60/N+wR6LFe3YUr7ytaFghEmhoxX8j1BfRk6ly1l5n38lbKIQZCGLnVEN+Gakz7gBKyY6bDJ+4/4oIA4LxEFXomxclaTirmlfo= 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 OS7PR01MB11955.jpnprd01.prod.outlook.com (2603:1096:604:23e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.26; Wed, 28 Aug 2024 05:12:16 +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.7897.027; Wed, 28 Aug 2024 05:12:16 +0000 Message-ID: <871q292pu7.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 7/9] gpu: drm: omapdrm: use new of_graph functions User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 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: <87bk1d2pvt.wl-kuninori.morimoto.gx@renesas.com> References: <87bk1d2pvt.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Wed, 28 Aug 2024 05:12:16 +0000 X-ClientProxiedBy: TYCP286CA0345.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:38e::6) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS7PR01MB11955:EE_ X-MS-Office365-Filtering-Correlation-Id: 71a68700-1a2a-429a-549a-08dcc71ffc06 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: Ky8X1IsS/NowMGa+vZm8WcCLAten1yQOyX8YvoMzstGcmTDV8fZxSP4E5RGVv0NoLuRSZTbrHVvSw0skZfMKs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W65BYBKGogO7NhYQhFG4btLh48aBEfYYC1ScZUyyQIA6nm+6UsHyaezh5ZKG7ObNADF/QkYk7l1m+ODjfwFrpNph/yp0+bg2abdByXgBnIDCYDMtTa5WqrjcmXnNJQVOmGIXtjMFpaAnqd7pfzxrPTS5OFgmwi6/TGLcoWcqNELBL4nHK9r2byCibonq/bskNMLTvZ1Wn0s30m8FvdeL47mQP/yzV3C5JcPTI1nbFAT6kxRdR/rnFz4bF+pHtz2OFhYXGLYj2Uhy9lLjXlU= 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)(1800799024)(7416014)(376014)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y0HXUXaub7zvBCWbqhHqVlo/o56osM/ctCzpILZB8h5k/6mGkbx23093s1m+6XwHctlo5HTjHGQrwgOfEaLyDNXCo46RA3w5tFkbH57c1PGnthdDqwwFeENRW8+V+5bIWGOiI2z/K8sFbkjwKdOlfP4IHtbwdjG5b1n2x34QNDWEPhAK+m119qljaP8wcNWSGkK1eC9/eOE64IB1ENbONmAZzy7GtF/SqQc3eOI1LT7qsc/gAvFIuGPjwNNlyqO4GNOeo2z+xZkWib/85vDvkZp46frsvFefQAUNndUZBpjfIdbUSFoC8aVS9pq4pN1P/rDbX8zGCzsILZWgLTQfmEwwoUOGgqBB6L3Zi/OLXbrk+RtOGzbRv2pLWCjTvCgbYaa0t3WIuTfwWIDnn9hnhDi3UedlqKCCO29SCtVH/TgedejCuES5TtBRyJubd7U6ENLVCXKwZ+17cIqxBftbpvh2mG2Td7Bf/QJfpF6tdFTfpUtUoGFzUv5iCJoRWg5xBWLT/2x7hXMEe3bmNzxIu2lv+9DNskuPEYMfttAQqhzHW7OoaQ63YjPxQ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atorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71a68700-1a2a-429a-549a-08dcc71ffc06 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2024 05:12:16.6671 (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: MN1Y+2AKXUIL5iyj38x5z9w+vwaqCYKGRF5BpeP0ZNN6NSsjV4R2WpwdOVm/lYJjTyj4fzli0jbsJYSZ59WA7C1cpcXMZcDNbtFirSqSDuI3yvYn1FULiWX0fTefKsnr X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS7PR01MB11955 |
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;