From patchwork Wed Jul 20 09:15:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12923721 Return-Path: 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 28627C433EF for ; Wed, 20 Jul 2022 09:17:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=REtJ2aDTCStULNaUCdaiqWVphJwRKn3VLkhxBYfwqGo=; b=ILd+n2XLyUFgls lYXwr6C1FKm4m1ZAmW+SW/xgo7ZkhQe8YRcZAnzHWKZN69z9YUdWOnIu0lu8jfDnzMCNXnkIcQcQY nTaGXuKZnRyPaX2Ird79dyqGSp5oWumUI5TBrZOFBm9mDY7Gc9iaz4bVCzdlI8/GWxwXpEpKt1BXe xrDUPDw+2xpjQlhPwueNJW9zXu4sTssl3pgJqhm9VrzTpSeSRWePmYW2o0SV+vy5UAz4M076jNKyT lMMp6G9lmsOVLKGZqlWDyamoY3pspDIFQfLPnvxONrs4CtEr85qKS/jSWOja9XtVlkzjTNKFRTc+N QBwfr8MJ9wHgXwUjc+eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE5oB-0037lW-Cz; Wed, 20 Jul 2022 09:15:55 +0000 Received: from mail-db8eur05on2066.outbound.protection.outlook.com ([40.107.20.66] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE5o7-0037hf-MB; Wed, 20 Jul 2022 09:15:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLGB8ULKWjoJjlPlyoj1GvXJ9NA/kyOxmBvS0HHtI0sePDn+V/YbYW9edAsw9YeTxMGUSR2ELDfV/WlgJJaLUYGNcAp4rcPnaw3AyfJ49Cur4xbNLMez3+QVfE+oPsE3ghif/MUclYEj6IOscSQFhKs8BsMPoFOM1b0KViZBwnqBrZUeCwVxyzBkvuaJt6vmRuxold8Oqa2q8FB+5c7fbGxEIr9QQnffL/FxhbyAFg9pHEzbPbXHyIEdYh78ST+2QndIracsKxCVrWeRQJ8+Oc72GLRneRVBxEuB3JIOzo0NbrKSgu+iJucNSEuNTKez5h9nqLvIw3bT8FPap3fcQQ== 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=P8DF1s5WrwmrwwUmlEp6RwKEYGF2Sy/Vka4kl+zTXRc=; b=mB+uvh3VvESIoQOKlyDV03r3kf7Ujwj9/YBqPFNj075OQNTeaFvhuTpgXy/6moJiSO+WDZw7LTeXyC6xXLTsMVYN95JjJLyz18aiYqd+Ff5CSrSzQ+klj0H1wylVsrT5yp7ZrbSZa1gx8L1hDJkyEShEpv0ZFBR09CLfXxpgoxjKCgR65GzpggfVuglJV+cFL9yKqrPTKiuOOYOPF2FlXLFETU+qphw65BUCg+H4hO4TdhDPzTS6EUJt17gbnZjNcPdTcfnzRHCXbjyvY661aXZohlmpZsebE2FcN7GBxypGcqMHrEgiL2g8dRKDk6xqdS+J8ZlXyiLU2VsbMUaVFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P8DF1s5WrwmrwwUmlEp6RwKEYGF2Sy/Vka4kl+zTXRc=; b=2mgkAhLzozI9D47bJlTuuU/yTrcximJpbBbbEIhxSQt3hLS7jWwA6kG538/sjp5yWLbpMgWn8GPUhjAB50XjpHorkUGbSVSUTB9MVOh6wVOVbejZHUBuHXfEN0Gfjp3WHzjfuVKgtXjJxnmAMvy597Gezn2z7qyIl6ccHvRo9ag= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from AM4PR0802MB2131.eurprd08.prod.outlook.com (2603:10a6:200:5c::22) by VI1PR08MB3934.eurprd08.prod.outlook.com (2603:10a6:803:df::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Wed, 20 Jul 2022 09:15:43 +0000 Received: from AM4PR0802MB2131.eurprd08.prod.outlook.com ([fe80::dcaa:905c:ff8:1f5b]) by AM4PR0802MB2131.eurprd08.prod.outlook.com ([fe80::dcaa:905c:ff8:1f5b%9]) with mapi id 15.20.5458.018; Wed, 20 Jul 2022 09:15:43 +0000 From: Michael Riesch To: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Peter Geis , Michael Riesch , Sascha Hauer , Nicolas Frattaroli , Liang Chen Subject: [PATCH 0/3] Add support for the RK356x variant of the Inno CSI DPHY Date: Wed, 20 Jul 2022 11:15:24 +0200 Message-Id: <20220720091527.1270365-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: ZR0P278CA0129.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::8) To AM4PR0802MB2131.eurprd08.prod.outlook.com (2603:10a6:200:5c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cda34942-328d-4f94-56f8-08da6a306c41 X-MS-TrafficTypeDiagnostic: VI1PR08MB3934:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yVaM0Uliu9kiVYz/BFIQokil/XCmB/E68rxTXbkvhCKouuI2POQzVYLVQdfziNZtRGXsaj7YuFeKH75a/d2aHS1jhVo/zdji+yWKz9Q4ZVnyT/bHbDCVHKjswpPAgDrq+Ft7cq9syAJJM+ajAt8keIzdKmi+pySp9nhe2tIAGMlv7B0rEKb7JRlDwvrqFxz44KPI9QFFALste+a9ICLUsvW4zzovV3rsikK+AuYTCD0acwEnIxiJwzzDnQIH2fhjqDtoTGYJvxjN24nqoFTAGIGvhU9+j8bus0QivwTcRJyuRof81jfWWwnaJvPKat4K1hfwhfTxTDCmZt3GJLb9imTXJD0vBzTFS5A7H45V4SQtF2Q4PHAeSHKdeyLSBC67KRva0nZseSQ+T722valin3spUd7EeHbqRp7Jw42oU1/vMx577XKeqGFc8ig0HTkdZABS1SIRSGRkHpMZU2jVEjU/LQiGLQXVqEER0din2iYfWWzflUrsE49iVyHYFN8Wc4X1BThUgdOb5jA78rZReVig+gi6p7h9uAVP5RUeeUuz8g6+LRMff0Umn76Vs03Ct5cEyAJJJ/a07FXJa2yIBV7wwFVtUpBu1bqB+wKSIRM52V3Cf/Ddon57mn8UBUJdSSehXD5dSh1++GDoz+ds5qrxzI/a0Zv+PykZY4jNDkG9a/nhNL65HqqUNqpkJRuBX6UDEG1g+JoedjPl24DSknJf6mAU2xnr4p1kRZ6Bgwg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM4PR0802MB2131.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39840400004)(396003)(376002)(366004)(136003)(38100700002)(52116002)(41300700001)(6506007)(6666004)(8936002)(7416002)(5660300002)(6486002)(2616005)(478600001)(1076003)(66476007)(8676002)(66946007)(66556008)(6512007)(54906003)(316002)(4326008)(2906002)(186003)(44832011)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nMFryQfNESHQbCUJrYU7UrsldKACyNN126q57MORakXkbGO9vNM5ktLG5Tm+cslfY/ujOLlya6d9hQWN5viW7dovgrse/zkKGN8rCh2GvwLmg3oCws+fCTHPVgTFcFEZbkgjH0sNDJzBVtgh2dkDbZjpV36kQgWzeBLSYKsMVFENwJgmQwhJfQMgw8PlIv19r8kboolgUVkgix2/2Kg/Ero4AdhlUEfgLeiRemzXfxWnoXM/3QW01EOuITpnExxq6yHIXC2vQ4TuF4AJ5bWfY9q3wfZ3VdW97hh7blVynO36yaxoTyGstWpKTxbD26Ys+Jotd1jGKD/JzrHb2RnXk9UHHyWyxejHIpFFtwPw41YUdnKJh625gHJoeM3pw0dLoadqipIFz+vg/mQizr0ot0m/XnD66O8qZjKzQn+3IFxgT1pLJp/FcxIlIgGcIZFSN/e7oSDGoE3Of1JEA1vg/kjrpCyXNJuWNpU6Qewpzn7DjCW6BJTQEMd89Br2fKUpYHJ8gMLDWGhQCn4c9Wo+P9jyqWWc9/KL7J4wfMDIymfZRa6bIQOq1X6Ro61+bpxgdpUSGXEuWSFYme9BeEy7CdgfvpWNaEB1dNyBRF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: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: cda34942-328d-4f94-56f8-08da6a306c41 X-MS-Exchange-CrossTenant-AuthSource: AM4PR0802MB2131.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 09:15:43.5417 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9oWSi7BjVjsWzd4Q0aC8BpWYL30cESSawuc4PSZHiGWSoliZbJokXZVR/jpEEKm/dXf00DOI6Uczk8oDKv9xE8lg8WPaOIbHLVMm304LWtc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3934 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_021551_770579_3E9145D9 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This series adds support for the variant of the Innosilicon MIPI CSI DPHY that can be found in Rockchip RK356x SoCs. Please note that only the basic operating mode is supported, in which all four CSI lanes are controlled by the Rockchip ISP. Split lane operation (e.g., two lanes to ISP and two lanes to VICAP) is not supported. This has been tested on a Radxa ROCK3 Model A board together with an IMX219 camera sensor and a patched version of the rkisp1 driver (with support for the RK356x variant V2.1 added in a very crude way). Looking forward to your comments! Best regards, Michael Michael Riesch (3): dt-bindings: phy: add compatible for rk356x to rockchip-inno-csi-dphy phy: rockchip: add support for the rk356x variant to rockchip-inno-csidphy arm64: dts: rockchip: add csi dphy node to rk356x .../bindings/phy/rockchip-inno-csi-dphy.yaml | 1 + arch/arm64/boot/dts/rockchip/rk356x.dtsi | 12 ++++++++++ .../phy/rockchip/phy-rockchip-inno-csidphy.c | 24 +++++++++++++++++++ 3 files changed, 37 insertions(+)