Message ID | 87v80a72a1.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5224C3DA4A for <linux-arm-kernel@archiver.kernel.org>; Fri, 9 Aug 2024 04:26:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date: Content-Type:References:In-Reply-To:To:Subject:From:Message-ID:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OJTI3fVU7PXFX1tjVUU8Ye9r4QnjQGrtjmmqI2Oz+XU=; b=M/+dpmgfQj5rv1Y8nsD2KINMZs SkFuH7vzBpv81kBqLzoa5oR04wUiZH0iBxNVukAcQfm+x+fmwFC9mAsgTD62LL5SiafFTA6x3JjOO xv3I7n9KbYUM9QiRspeyJPeERif6fFDo53QkL/N2/pR7AamNetm3+6gdleONECXwXbBOsIk5Z/4sf 8jMvoUUYXsJQlB2KZmueAP+IfE5Y66YkRaRW1iBJ4EcvT2vtLOWdznhTuoEfF22LbKSnXc4sfrcx3 jnTK6s6KuAP2eNjfmDYV8/DoH4mj5triXokv9U4vui6g/EFlKae6wUy5ZHSadTZ/zkNeBcRcmPB0f F3o+jK5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scHD6-0000000ADLk-2hMP; Fri, 09 Aug 2024 04:26:40 +0000 Received: from mail-japaneastazlp170110002.outbound.protection.outlook.com ([2a01:111:f403:c405::2] helo=TYVP286CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scH9z-0000000ACkm-3uNC for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 04:23:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ErToRkis1yq0Ulk1F50yFrTMQAKUtESmZmLyXV/0YzEIAyQfhkqnTCnKP8II8a8wTT6fL59XqJjJITmTpY+KG1jDDmLcvaFqWP2lGoJwAYR3mdEJ6kk2zKth2/j+hq72kcxa5iKD+b/52VW57PdQxzfAzPtreTKYsK3C6yFgS4HfGOHT/IKnZJNk1afCkmOzSDMNOseZiutLifAEQ3hihnQFSMW4Mkm2DjdvYEgM8PO/HnbBaK/iQd9nxg5Zuga+94gCaKTlB1+fb1RnPFyfYQ3BTpZpsBodqfm0/4eB9ji9EQVYfa0Puc9kCGlShD7Hb6swbUZNnrbwtWM4fPLsUA== 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=OJTI3fVU7PXFX1tjVUU8Ye9r4QnjQGrtjmmqI2Oz+XU=; b=nvRiSeyuE7KMP5NQx5Uil1pMPHsuT/kOpKAwVkug7sZbRRp6ARnrbnvk0KpmcQgu6TmmHaqZ4H28cmh+U5Fq7bLlOIMCx7xrUgP6Xy7trpR6Uf6ZVZ7nl1GTSxGnQo3tedljQQlF2un/KAhUPkwiwDmylVdPVIq6GLNhxHKCRaTpPgJ/A5k+8C5MKlJ/tDux7WKocT12sy+WNbnvKPw6TzybPMuLKBM355hg260ZQqtrFQCiOeL9gW+4KStQ0jfvD3r4Uga8VIRhLeuHyQEg0cY2WwXjbPXRlFrjN8NfeuIVRdl2ESQ7F62WruoJQhETKDKUv6EVnxa8vg0JQWdD2A== 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=OJTI3fVU7PXFX1tjVUU8Ye9r4QnjQGrtjmmqI2Oz+XU=; b=ZQht448RcfE8uFrQ41XWg4nb5X60h1DgUMdTH2jXFqPBjPsTwfS4YwLhz/mCTmfPOXMpvpdH0ubxbI27Rw8ULw5ENlI0j1JQJYThSR6z/BJ5zoWgzim/BaxdhHkVYYltkkFStafd8tKV73wCMmKKpZ45zRaKX444haUQtJy+Z8A= 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 TYCPR01MB6400.jpnprd01.prod.outlook.com (2603:1096:400:98::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.15; Fri, 9 Aug 2024 04:23:18 +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.7849.014; Fri, 9 Aug 2024 04:23:18 +0000 Message-ID: <87v80a72a1.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v2 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 In-Reply-To: <875xsa8gws.wl-kuninori.morimoto.gx@renesas.com> References: <875xsa8gws.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Fri, 9 Aug 2024 04:23:18 +0000 X-ClientProxiedBy: TYCP286CA0061.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31a::13) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB6400:EE_ X-MS-Office365-Filtering-Correlation-Id: 78cce64f-0d1a-4ba7-e9b2-08dcb82afeea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: iZ1V49iah9omc0dKrPofuDkjuWB8Pm5ZhLTX03qnwFmwST8sxSeBwuJhUB1/akaZ2ZtgZ0iriBRqmdCWG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b1KOrBKNmV/s8Okl7AMRFqJyQwUpoaCkN53rta20N3p4gYak/RpUkKn5EXaIBQNIKGPvK08Odk32DwKx4YGSO84SKc1Er3PtBy89g417uQ3PS9NaK9GEnWWmQsdVPgfzvsDGKCU+0NgfHCRaW1owYM/46JF/Fk8z7/9FqDRZYqHhbDqiFdUFFjNiQV0PbbkxBLTQZY1/h623uTRd78Erv3vk//KlUvi9xyBYxAA8TPJ/3z0hL/eMB+Sw71gmV+IzqhmJg6uqf5rBobpUAQuX+3Acsesk= 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)(52116014)(7416014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fnJpPTPUAvoGA9zXKD88pfQpNjN6ZrCgl2mTeBXoTUbFIgm6tbwKezYJeuhZV5lOYTVv/2H30vVBp1lyDaC/bZCmaqvjcxh6Z14sLGYJhcgWkPA1SS/KCQOOYj8/UXKCiN4h+Li0hZZRMZYwkQ8zkqxDAJB49sVNwFbyxeghviXAGzuo/WEqF6aa0sPeIoeSZgOQMUBVlx6wuy2eer9OiSMHoQ1KWcNyL110ZaQHTx31KrsP4E1IBEmwJ7D21l+auP9SnogY5ypMCwdQ/c573KGkrGfRkZieU7zBUwkDLGnhEVsoyjArIW4iGqLJXdP2W1nFCDKI+ZYhPEFlXE2GAEvaiDGJLSa9EYHD+VO2JFhAE2pWGswfBzxd//5FSqfN7fYUZQ1AgKXSWpflr31AhZLGv0zhXuECF4qt6EHQrdsOAb7mGg8f4r01qozpUD0DoWxpyz6Uyu9NBUuBfJea91MjvkzmAWU0KZWeVvJ1uAi0xHznkbAqZXKlnH9B3PzvNOJtF7U2VXnVQWM985OgOKaa3dkP9MCUGQ9yw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FRkTPHAgmFwK/AxXi8c= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78cce64f-0d1a-4ba7-e9b2-08dcb82afeea X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2024 04:23:18.5635 (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: jUSA/4hJ2Z9MjjR7zxlReDh5lgad/opFMP4s6kmTH0w+V9vsmM8NOmKhWzGXm8LqCkMNeeskKvP2RyvzWiMQnoEDnpTByN67ltm40Ka41ryK2oXYzvs5oNwp5AjvCgpZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB6400 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_212328_057446_CEF27A9C X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
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 030f997eccd0..b17e77f700dd 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 91eaae3b9481..f9ae358e8e52 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;