Message ID | 87cyjqb5sh.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010053.outbound.protection.outlook.com [52.101.228.53]) (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 CF689156F39; Thu, 24 Oct 2024 02:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.53 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729736436; cv=fail; b=NFDSSoz21zE402a2qvVksHPfnxHgSHainjNXcD69AS0lowkzdvDOMCFGfmV+EJ2CvxO8XNTxEJ1nNjiC77qo1W3sX3uZoPhwsmsdRlZgX77KoJwgKq5kgdKIDMqEnM3JxjZg/SYy19O4OhJTqr3S6PKgKBhfS6SpXRqDk4BGOOA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729736436; c=relaxed/simple; bh=Y6ksN+kgk0SpvyOB5leK8CBC6XAK4kZc2h+o3SvTjmQ=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=V88Aa1+BySQ+OYemcCC29kmmxkiO1uAQ55PQwbQ5IwWOGbqkebgiMNPIO+ipAe7CAuiOVUs4AfkTqducNTqmjxvdF/PlN7b4zw4zzzY/hOHolMnBZ/p95tXV4k0+56oavjPDoyl8Ua62JyXE/j5RKZCwN4MPuL5QsWkK6D0VCUQ= 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=CBQrQ2lr; arc=fail smtp.client-ip=52.101.228.53 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="CBQrQ2lr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RA0sgQcIzkpBLE6v+nV1OyriqjDIDaIYaRMxYUOeMyNn0HSzN/ShgKwe2dbVGkiHgbxmLpMUPHAQvyP3ewjZlazwzHwOLOzF6hoZj532rCVW3BpgxcNYIJrBCDIR3GpxnFspZzEw1CzFgXXoNR6R940r9UOkAqskKiAHvyPxz4m/GG6DQCl4Vae7lOP8IVZBbgvlaFzQ6X9spxCRQpZqEiOxYlEIKUlAz9ntS5DYdrRGSm6klD0y8k9ZcnTbV4Y+FVmqWJ6xUsh9Y31EdqBN6nWUMPMu2bB5juypxptAXFZ6W5oZb3M61IWcq+ZkIsvZgZgjKAOubQFRqXg2To6VSg== 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=6t/TBu062eNpxMUIBtKZ/65+OqkqZOYyF97oP1iAYR4=; b=sDh0gTzZGswcSkGUkkH0j8e30+AOfZfsXWDXkdJPzZ0wH2dFwU/taIkGnrjMEK4DFfj9FNy+SDFCiEhu8Sc0MGpbkMnOQVXlla6ThSdT6bXJCLOoLCncT6UBpnyVJdYBhCupK/PFAwAYG7oF3N28NjjcjmRI4JHnmQbm2r0KO6KcfkvnY1oNBnITKg3pHZe2l48AEReOBcKmxnrrSB/bbyDwWWApFjEFT0mLa18on8rjCW6eoCeGogk5ljyaIaLlghf/LoB6SVpAz7bdlmgHjQD5JuIfP9XHzcjsuz5pVEoIWZFqz1gzvnxAINJqL1i4itMLrWCyuaLlNUv3wTNe1g== 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=6t/TBu062eNpxMUIBtKZ/65+OqkqZOYyF97oP1iAYR4=; b=CBQrQ2lr8DsTiWvsP7lInhzq8n8Q3+cOByNxFpvCsVkR1/DrJCDzLUbivQe0d2HzAZB49SPn40ZeJbPszoejBzmr6lkoHtiwgv8jU2H/lrv/gDmoNgvrJNGBydnnqjMCzd6Way42sqWhsbKctPRfI32wnt+2zmNcZwkdiW3cfLg= 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 OSZPR01MB8629.jpnprd01.prod.outlook.com (2603:1096:604:187::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.17; Thu, 24 Oct 2024 02:20:31 +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.8093.014; Thu, 24 Oct 2024 02:20:31 +0000 Message-ID: <87cyjqb5sh.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v8 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: <87msiub5tt.wl-kuninori.morimoto.gx@renesas.com> References: <87msiub5tt.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Thu, 24 Oct 2024 02:20:30 +0000 X-ClientProxiedBy: TYAPR01CA0105.jpnprd01.prod.outlook.com (2603:1096:404:2a::21) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: <linux-fbdev.vger.kernel.org> List-Subscribe: <mailto:linux-fbdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fbdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSZPR01MB8629:EE_ X-MS-Office365-Filtering-Correlation-Id: 246100ef-a08c-44da-c3f7-08dcf3d26eed X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: qdxvJgmFRloEDc/c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KV4Ph8hTE7BSZ3lafidz+rD8y36RWcQVXv16rig/298gSFIhZYXAXpToIWLP+AKgvswRNaNzH2DMwstJCTIoER7gF/oPWBn8EoAC7enSIaHvj9iH+HVmqB+jKYbwahHZUbhml6tnYiwFe2ztRip7TBvpweRJI5M6VH0pLIUUsKwoPDchQiC5CRqR6a1VTYcxdXy/c5olCTpqbJy7IF0rqs2tGyqkUg4ekNWimM4451L7s8nk1G86+UqlnPlgtvt2kgHUSAx3m8Z/XS38l3A3G/WkBl2p3q0D4XL6FIEUXXXmXuxJ130qWNSgN 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)(7416014)(376014)(52116014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: H8G1UwQ+e4MOxTut6SaWIKQFE32thUOHF7fLZCo12tbuNLxQRZWzaOMB5R+M3Y9qtUq0MUY9tHWIRGNWSsffo06WJfKVGuaUyIFFw2cXU4aVuii5BVELRoR47za/GTNeY6mKx07NJEW6lQhYEpKf1MM/jCPfRUYPQP6kMRgg1DqXwe/H5LW8wTrWhNe24yU2b757ExE0ZXiCElsYB39ibBi+H+q4QN8OQEDD2KBT7k8syAkAFhcupuD7nJ9YHxAk4Y01uGwAj8fRiSKBNleXPZLiQE0y1RcKqx9S8ot9lpdMwgdAp7jiw20N3+UWH8urSoidqWq4NGprcJwvrY3m/kGadd7qRQBBvDMnHgygyViWqZcbaOrF4FE58sjeaJeWGVxdWpJlhAq8QGeNiUkBNkl3Prh+9hDd3F1axa8hURJx7l5y7auRD2OyInprgMhdlgzPtMAqTz1W59Q/Bine+xmDNEFZc0oIYolvcl8lokwLeq81HVr9oBxOpAJYKFcvy1l+ZIu2mwPB/Dh6BxxHqDw8SegL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K1e9woVQZv76f4S631volD5EXnCnM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 246100ef-a08c-44da-c3f7-08dcf3d26eed X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 02:20:31.0560 (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: IhsW60Tsuo48lYxPSbffxLLXg6QfF1RLj2Vrno1G5cEZqtayLw7g6OGDvUbuN2if9tMZckyddjjI3ekjpXOpRW2PeDTeVNzB9wPOWX4SO2hPwPGabO0VXeI77C+ADZIL X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8629 |
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;