Message ID | 87cyjqb5sh.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
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 CC1ADD0BB4F for <linux-arm-kernel@archiver.kernel.org>; Thu, 24 Oct 2024 02:32:43 +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=6t/TBu062eNpxMUIBtKZ/65+OqkqZOYyF97oP1iAYR4=; b=HxG0SfWPfovaQ28seBBIITO4Sc b80n4sxxeSqIDNZUbnjjoga3IIg2rmg8+reGLKTWqVG3LwWSRaTdtSQJigHstQFYcz9pEC/nqkGtt B5qh3nTlZiv5Ecq9tURL+dzADDVBngygVoVvmhLUlww60+jymiKf+k/qvVFw1AX1CkVR3LL5uR0SI zFkGWlYwn+hGT4dsxu0QFIoW2fY/+klKKl262bQFSoRYhUHhH5ojqX652xCEDbpJyuTC37k25Ha6x 3AMa+jb8iXckA4YjLuJM8QzBf67Z4Jj/lQ7l/49jQhkNoE5cCdBl0Gt17MoqQh0014dNMeb0bV168 Tqiq5aDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3neL-0000000GWsr-2Siy; Thu, 24 Oct 2024 02:32:33 +0000 Received: from mail-japanwestazlp170110001.outbound.protection.outlook.com ([2a01:111:f403:c407::1] helo=OS0P286CU010.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3nSn-0000000GVEj-1b0d for linux-arm-kernel@lists.infradead.org; Thu, 24 Oct 2024 02:20:39 +0000 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) 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/c32nKpH4vqy2BFa8DrlgDFIHo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8y36RWcQVXv16rig/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/Dh6BxxHqDw8SegLDqsFMzNO91gJVmAHTLBFYxcs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= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241023_192038_002741_2A847588 X-CRM114-Status: GOOD ( 11.79 ) 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 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;