From patchwork Mon Mar 25 03:04:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13601217 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2081.outbound.protection.outlook.com [40.107.113.81]) (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 70483393B43; Mon, 25 Mar 2024 03:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711335886; cv=fail; b=A+EusZmp/ATq7Fcdwzz7wLxQ7hW0rRS2A+BQgt6M0BUAMDbevSJeHyrxrTm9ecb9uhFxZqLBksRvR6u7rzUciaRRgynRFs12nE9kUO4+qC7xytrthK+uMm4vaSI3UkJc/yQe+h5e5q9mwTCjD6+iegKPJ44cjILtsyHSnXVV8Ro= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711335886; c=relaxed/simple; bh=0YOg91yfkbLdh3MUcCHg3ejiOMYyrRTvLaW0+giPKP0=; h=Message-ID:To:From:Subject:Content-Type:Date:MIME-Version; b=KBQq/jDXodqNgHmgO7BO2sJC+thwlqD5s/bgKRwZgKI/JiFYuaHKBWg/wGPEbJWCe7R29XhqXL0ckWwe/zxFeRqyBp9KP4iaTwqgrxBViq9MAPC5Ki1Kk19RQiR7bfGwbh/41q/MGpDm2Cib5VMwGr+II3EaDT08kKzZyyP6U4E= 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=Uigvohji; arc=fail smtp.client-ip=40.107.113.81 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="Uigvohji" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=be9WKd3+4cBG5SqtUkmoDcqdIA2q3KbjBTT0yF12zJb4iXQ8Kv9adL1nfw6j2NAjhF4P9joW4tq1+BhAD7DLRlbzpeEOK4C0eM/yN3d0NVVGlbznHuCM+gvstGFplBgykgXITbjndYKssmuMyky6t/roMwP2/o/3GPqxsVUhB/F3Q8G/XdFCINCiebD2p/O/EXLsYXUPj78xIX4GMc5IbQN6WAeOpMhmylUmVIi+vNuRPUIkXSpAi/NQzPbc2XGCzHhvv+RTVCPkbetPDAfhVafyYNPp2zxfAoqQrGpSlvmuzEy3DnnZ1yS7r2xyk9HcKjJEA3Cj719JVr8efmCMKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=1ZsdpR5imvkVNiwWqfpsf7qA/E018z6R54D4itgGZ/0=; b=lbTSPWaFuwREVSrEHLF//8NzIQl3QKusZ+lD/SaAF7dpOuIZUKGsDCLb8gA0ZcsT9enTW6yK6VD6Kq3KzmXXzw1j3fCjEGgaACRP0pIE2HmfeL0PQeGTW/GIvGjAT68ky9KQrFAqxY4RUrtdhQQJq2SoxLLZ0gQkEG+Y+AeO+QLyXFND1r6VF9tUBIby1IuoF/DcW0np45k4PewhdJ27Pd2GJZJeOdyTwAITBgci9z+VGlmBJ0t9f9MxijZUs/BGXP4gUwbz6iAqqsLp5qBX6JUsSModAdzssoKewuGBh8Ig1kyJrPXrFqhjiTG5cSRTGrBTUhAZnS8PacLoVYF9JQ== 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=1ZsdpR5imvkVNiwWqfpsf7qA/E018z6R54D4itgGZ/0=; b=UigvohjiSj5i+lroer589zJf8mbg6BnHTRimQp7OnzJYkGAJuOnG8KXh0QmuIeu/BXarFON88Fb7Zh790eH3dSEXJiHErMAHoOjqBIfK0ZEizA749aoDzopd12o1/rJmA4DSrgOFwXGsyOWq4oy7CrdIQlJ5eOEHVLxfTNMshKA= 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 OS3PR01MB6966.jpnprd01.prod.outlook.com (2603:1096:604:12d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 03:04:41 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b%7]) with mapi id 15.20.7386.025; Mon, 25 Mar 2024 03:04:40 +0000 Message-ID: <8734sf6mgn.wl-kuninori.morimoto.gx@renesas.com> To: "Lad, Prabhakar" , Alexander Shishkin , Alexandre Belloni , Claudiu Beznea , Daniel Vetter , David Airlie , Eugen Hristev , Greg Kroah-Hartman , Helge Deller , Laurent Pinchart , Maarten Lankhorst , Mauro Carvalho Chehab , Maxime Ripard , Michal Simek , Nicolas Ferre , Rob Herring , Suzuki K Poulose , Thomas Zimmermann , Tomi Valkeinen , coresight@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-om ap@vger.kernel.org, linux-staging@lists.linux.dev From: Kuninori Morimoto Subject: [PATCH 0/8] use for_each_endpoint_of_node() Date: Mon, 25 Mar 2024 03:04:40 +0000 X-ClientProxiedBy: TYCPR01CA0166.jpnprd01.prod.outlook.com (2603:1096:400:2b2::6) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB6966:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bb71da8-fe98-4712-f8d4-08dc4c78504d 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; X-Microsoft-Antispam-Message-Info: Ntw/iTCJtNwsDNDFCOlR7zZVtGmMwn8BPl4LZafBbKjEalUp/tWj23dnvO5oI3ac/8CFlal/628bk97Iz+zCjtEeKsB07302dNftXoASed+LbER0iQCsguP3olugEiAPZVoChuPl2KmLIiQMOHrv0peuiwOyCL7CnI4qj7Ykqzxt06KhZg4VCDTiSzip5F6X4SwYt5pa+2T0Bh6BdQHPVB5VOMiW4asW9dpkYyyKH6VFKuNsFllaa5jGNuksyUTRH2hUeBCBiOhtxW9dBkLa7nzrt0r6p3VvuqkGI6fXMM0rzkpwu3Nw22SE9L+A4zEQnWOd4th4UGBtsopl2j+Is9UhuxkLkfgNaBwChKCx9SlL8Qp4IdwHHEigSm6diaphpnoWgvrEof+sDoQys2Gy/TXVz70pvLOxR/OEBo176FNn88lLpj7mUUsZvUYnUs2dfiYcq4ZYKNOK1MAlpupiCo+QA7uCNPHeoEi6GwHTKk7ttniJ0/4Tbo+EYsXjGJGsYyyvtrwUqwaXT8fkVjvJbuWFxwOSQbYTly18ATMmkGs77COqHXdifc7pnVfn+6sYCErjgDdD7Uw2atQlWc8d2armxkkm6Po8oSfFMvBfxYQBcdNOkErvCONlqT14t3LaCT4Hiaz8z/BMeA8J9ePXAnSacQyzCCG6m+gyzcxiW4Vy25hcYD+fq4gg3CZxNO3WF12NBhFVa9G4d2giXcoUUs21XZVDZ0GrfoB+EKpnh5Y= 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:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4P45nDyRUKc/bIzVYoor2LznUw90V0BtRJA2rC1YhzRw8IZFJyfiyUep7U5GwBtQfsGSxVi3ayEUdoNZm45tNx70E7tTfmx+Gg3CBEd1Mn1W5YC3bseU+erCtB3FljVasbTCePvENr7maaUm4H+h2XcGs5P50coPNwZroc5pCtmLCmdyRSYTwDoRtKDVNfPMnRplEqa+ARRiZSBMgc+PHW5ni2bEQGPGNbZRtkJWuToZrcQn6OSvLkyiIBRhBfIRzVnPIvlKc7KUdHKRefAlxgA4q6Qkw5G9nyhEGgi4MaB64fTDC7HwnGLDqrw5vtrYbZAaMWruOAQbW3vANRsIfeMkYC3msxXY+3OAgjLlpKzaKVO/dzj3NI5A1HPDQE4Fw1VtC/7o2dXekNfKmXACgI+jdm/34C5MvCSq9PG0hgnZt6gOSWaUfoChDC/3y2+y2tGmYEU0VMQ3Ad2Nu9TYLenatf/1/af0qxMT9SEsPygyU1ABbViYiFYO77n1z/VxTtTqMtGOMpTQUVZVrT29TdkpfZg4X/Eox7nLH3FT5D9zM+lLn84Z7v6Dn01h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com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bb71da8-fe98-4712-f8d4-08dc4c78504d X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 03:04:40.7954 (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: amKL5BvVbLkzyQzZzUYjKhLHaZyDgjDUjSuHU1K19Y8JWce0PyQu9AElOM0BsSeBMrUguuHtgb/RUDeQnvqxrOKT8tTRS/DUmGOLwtrwTRIT/ZFNPZkXPepjNUGL/kNZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB6966 Hi Rob, Helge We already have for_each_endpoint_of_node(), but some drivers are not using it. This patch-set replace it. This patch-set is related to "OF" (= Rob), but many driveres are for "MultiMedia" (= Helge). I'm not sure who can handle it. [o] done [x] under reviewing [*] this patch-set [o] tidyup of_graph_get_endpoint_count() [x] replace endpoint func - use endpoint_by_regs() [*] replace endpoint func - use for_each() [ ] rename endpoint func to device_endpoint [ ] add new port function [ ] add new endpont function [ ] remove of_graph_get_next_device_endpoint() Kuninori Morimoto (8): gpu: drm: use for_each_endpoint_of_node() hwtracing: use for_each_endpoint_of_node() media: platform: microchip: use for_each_endpoint_of_node() media: platform: ti: use for_each_endpoint_of_node() media: platform: xilinx: use for_each_endpoint_of_node() staging: media: atmel: use for_each_endpoint_of_node() video: fbdev: use for_each_endpoint_of_node() fbdev: omapfb: use of_graph_get_remote_port() drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- .../hwtracing/coresight/coresight-platform.c | 4 ++-- .../microchip/microchip-sama5d2-isc.c | 19 +++++++------------ .../microchip/microchip-sama7g5-isc.c | 19 +++++++------------ .../media/platform/ti/am437x/am437x-vpfe.c | 8 +++----- .../media/platform/ti/davinci/vpif_capture.c | 11 +++++------ drivers/media/platform/xilinx/xilinx-vipp.c | 7 +------ .../deprecated/atmel/atmel-sama5d2-isc.c | 6 +----- .../deprecated/atmel/atmel-sama7g5-isc.c | 6 +----- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-------------- .../omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 11 files changed, 30 insertions(+), 71 deletions(-)