From patchwork Tue May 28 23:55:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 800050 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2055.outbound.protection.outlook.com [40.107.114.55]) (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 E903013F45D; Tue, 28 May 2024 23:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716940511; cv=fail; b=Vwg7BIgxahPNvh/zdB8vKK6RIcz9x8TT2v+8xSKrXSUZJSvS5IumGppq0tj4wsFREIsfeFwSJNCbQ9SUjPYt51FOcTXq6R2AZSza1WU6C0qy7wTrntAMNwp7a/bLKySleiA06OkpjSq6ve4Fj6vTrS5rqqFPoXC9bCoGZLfFFLc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716940511; c=relaxed/simple; bh=Q354WfO6Hz2LvUMrDi7G5aOf9RaRMfXiMb2qVelpn5o=; h=Date:Message-ID:To:From:Subject:Content-Type:MIME-Version; b=rkBVZ1dKUrNcnWwyGAuveWN1/zZXcm9V6L+SJ7D9lDPBHPqW1xI9r1FLU7mE0P3G+4vN3xZ8kk5KydR0ZAS9sgUHJzO3uhL3O3aGxjHaO562jFyDCBW4qA82L7uWyUxylobZh588LbqccOuxKWv/zCE3dE+/VJ0ymZKH6VRsEac= 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=OC9/Um0X; arc=fail smtp.client-ip=40.107.114.55 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="OC9/Um0X" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oPICc75G5epq1cRxJLRyjQ8AUQi90x+63pMRtBhGnIueBGEY30s45aBEABUn5MXlNvgqY8qe7U5fDdq5xxJvy63RhL870npKMVK380CmR0MIKx2GMIjJjIQp/cyazK03RMqYRQ9Mo+eilhkcAhMaGgNWCCEW1Auxg+iDIeYxPeIaioSepAtltOMbsAbdcDZ6CQbNAzvXuOpj7nh7LVg+Mg1lD1zDLJVcxgmuPnYz2HxKyXX3s81s5q4wUrVCv0wewDMzq2sXNWBWUBzMUL6lX05FCBz2vvUnNnkG1hmlZ2sPQ+jZvinopTK/mlgGITcBJ//gwKrBg85CUOIKxKJZuA== 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=oC2ZTa3dTfEU9ANJwfy5zKSSA47kz8WDmL9rACZ35iU=; b=nWrEuQthpvf1BGue2g/E5u+cb0Tiw6qXYGxJVgJj2zsKrroUneN5SH9TQbIVlO+9T305I/ctOSgyXsQYr8fFnbfJMiLnTxZ8oQNz7A64wPjqWTH6CUiz2VBsUVnlPqvIdAXhX5kHXO/x5g6aGziMzNdrvrJYZHDgPAP/XPifaFK25VpOJCsb5VNoVcjUMkc/7+OOQK37mUO9/EGKNVYf3ayOWu8rC/jNPoDooEPjG2xpujllrA+j9hEDR6DD8N7TxI+pWZwl2+YnTr5ZmMpUc88eVuECyhzoZ/4lya7UNYDtVgH6DGIICHWjI4wiWavP9HXcUYBTVgySNvgCuD+bOw== 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=oC2ZTa3dTfEU9ANJwfy5zKSSA47kz8WDmL9rACZ35iU=; b=OC9/Um0X979mjzRVgoh2Ai7OazwjOprGY6KijWibyngPhrovWIo5DEYw7luNvvunoAJxJcRZw7IOnWBpGhpNESi+bh9aLr+P6MC1VxaDSA2qE2AmrascXJhckDw6jok6z357ePkKgDek5xSo1xn4MBtmPAPH43MJ2b2b9VcTfjI= 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 TYCPR01MB11224.jpnprd01.prod.outlook.com (2603:1096:400:3bf::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Tue, 28 May 2024 23:55:02 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7611.030; Tue, 28 May 2024 23:55:02 +0000 Date: Wed, 29 May 2024 08:55:02 +0900 Message-ID: <87ikyx4hm1.wl-kuninori.morimoto.gx@renesas.com> To: , Krzysztof Kozlowski , 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-staging@lists.linux.dev From: Kuninori Morimoto Subject: [PATCH v2 resend 0/8] use for_each_endpoint_of_node() User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 X-ClientProxiedBy: TYCP286CA0166.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::17) 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_|TYCPR01MB11224:EE_ X-MS-Office365-Filtering-Correlation-Id: eae2f8cb-70da-41fd-a468-08dc7f719750 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:13230031|52116005|1800799015|7416005|376005|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: 3Ba+Gea94MLbwIvV4AXJKCwwBQ4Wm90W+wcZ2XWKRAgPFhmPPQW+zKSjLJIpbaCFzRkUo3nVqELcFhMrByXq0ObrHGjxnS01Um0dx7CElCaL+9GF39VpmhtXN2LVTFZ3som943dwQiV1GCBtlxjwANDVS+X2XLkHnPaZChYON54sHNhDIKpfcAFNAu7sJpwcX6Jp09H1MjFi48EX03jnNFEmidEL9Nhe2nDEeeF+zk7Laeo56EI7tXrT6jm4HdmVbkWNcdpuamoC6GHNVoO1+LqQB5na+16F3nrSX9Of4W3OJ5uMqXqKSRWq5lePSxnkIFzVDeb1mIIf/nCQvWTpszLt2xO1UoU+RXQ2DamsKqJHHBeQO6WPUN1IVN0CdP8Lbf4WG4bLHpktfAcQO1YBBcSp7M5bnyzW3rETzxz3DBtWalSMLzEzPFY+Daqlksgfv3D8+naossADp/5WgAJdEPW5K+cWEuvaTYxdvwDlGl6KpKiMnfuVIzeh27LMug4eixD3JUv5CddHAqaAf6an6nhIayYiU+up+ybfzyPi7o+yDDkD3g6W3HIzCY3vaTxaKwCq10U85vIXatJx5ToAB1qJxOx9GBsaENewbIp2ck0DIU8DGCmgJ1IHEUGdNbj5CNmQhKSQFQ7C4T+hBrhACvQmafT4rVh9/89wpLaD9YAI0rbhtynw+HE6eJ8ic4yKUqdZdV/J1lCrVczud2/pP/hjEXxfMfYDqI4roxTwwek6HaSOxTRjwFN1I/33L/fnSMtuK7rP78BFnqBesO+B0044beKDjw1Aj5Nt64l4gb3GhixQotIVQOX8sCNpTgoJLEJKKgcwmYDByBHcAc6oJqUcZbbv4JtyaV1wWmBZc6KUSXvix6YrQYfuh7BHAA5Uth7oXoL7GIFVqcoRtAOgtGVwcoqp9gIUnjP8fd9kDgiaqyMl84UMmoHwZWMYYQQkK4PayRTud/fQDsdMtMjRK3nMbM+CD67ogJso7vHxd0NFGTmHC71EF43OKOJ6NGd7dJZVFQ6qY9izdP5MpVszrYoO19+7NjSZghqV6eGDhhKAk082m7MojsFqPKEkIegd3jJYq1aE5XAKmC8cK0EsUUZgbOTRSl5gbJajhsjYQeoEY5daYKlIrBUz4SwV+pX8HYtJaUwv9wv8G20/vFsK9vslzD8ronCk9OtSS0zs4jXVexuVoihgpXR0OIaLM/KC8kHztT2sDzbYVvEDiCtFmfDMbZHnuHFRIlKKT4N0ECRXj9BdSUPKXGhBAa+OkqOr/RTnNRcWeMG1eeW600SukE1vrmiKYJnyIYkM6/AnTKM= 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)(52116005)(1800799015)(7416005)(376005)(366007)(38350700005)(921011); DIR:OUT; SFP:1101; X-MS-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HFhEF+diR923WU7boGgnmDlRehbVAGjr3EGVmhB2/YmcwdXH52QF2v1IZOKRoY3K0Th/F3Qc3wiPuT7t+0Hd7/a+mGsQ+PJq4oSt2QGWSOweXExBJhPuY5i5o5lZ7nYng58qZ+RM0L6IuaK2jDCkEOUjYV9r/63LFTo1BGf+9FZnkKLselGTfBtfLCSK5n6sETz0I+eeD+sNvfBc+u5CXFQAaxYQMUCLQtVWYt3Iv2VmkFsfjcmQu2CQRQQb1LJq8EUOiegVQv/Z6qwG0j3yXhUlBQu3JYmxjcHL4EmIsIiUGwwYhvdvQUL4BE+XsDz/3IFkdvJjibymw6bViPGHRW6DE10LWtu+oACIZZ0OkePXz7ijj2F2qyg3bI+7gtk/sQMlbZCPtcaTw+vUAEdGspwDsff2MSJsCHmMd9EbigWbnby9EKIZq3gFtQtLEn3iiDsfGbBNQFd1+/bUqP8sll8VfrmIx/CVcbHvXP7yfz9Z6zFAMk8rvU3P80HbR7DtwWg73f+vDSjGK8ZhCEms3WC1H26WqnFtrlCOUQ91tQk+JTWHxgZ6rFH9M2b8/X37eJobsu2KHoI2/yu5s7xycBGVXIde9+S8k= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: eae2f8cb-70da-41fd-a468-08dc7f719750 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 23:55:02.8648 (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: 6XANBxYVmLEmTqW4HLfNln5KxAvuPDUL61UPBOt7YNSwtrgaBsf9v5kzHYDSCUpF5HhvYXLMAlSK/bL/6EInDbMwC6YkbtWRxlVtSi5bWu5J5MRLnyteUbCS/2UlwZmZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11224 Hi Rob, Helge This is resend of v2 patch-set 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 handle these. I will re-post this patch-set because I couldn't find these on linus/master branch. [o] done [*] this patch-set [o] tidyup of_graph_get_endpoint_count() [o] 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() v1 -> v2 - fixup TI patch Link: https://lore.kernel.org/r/8734sf6mgn.wl-kuninori.morimoto.gx@renesas.com 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 | 12 +++++------- .../media/platform/ti/davinci/vpif_capture.c | 12 ++++++------ 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, 33 insertions(+), 73 deletions(-)