From patchwork Fri Oct 15 08:35:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12560823 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5133AC433F5 for ; Fri, 15 Oct 2021 09:03:12 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1DF6960F70 for ; Fri, 15 Oct 2021 09:03:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1DF6960F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=puri.sm Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=SOmbkwZq5RaEaZ+nroSldOCsz/9jRzzoaRKQZtrNt5g=; b=R86X8IeEkhkjfb chCPIN/3WD8mluo07YQxDl1V91vEY+YEVKHSFZkgdJrJAcmRFA0YAuCQyKc4YIMJIjqYxb3t2yAJl S9JlFz4LoysZRblUl1t/3F11VBACfAzwuDpL1uIh3vHyabWR7SReytK376vv7UlICk+BOzVNzMGfI sbrC9vZsHtY+lcQ09+DTsHby+Q5dTHSZlH2ZycsuEjSGrNNYrRvWUOnLGbR5go94eguKebkd6N09O vBmC0O9HYLkNT6lbbRzOoJwG7YQUT/jVBhSa/QOnnrdNLFF2cdmeYHIHTAa2hFVwLN/ysQpNcW6eJ m5NtVvftCTR9C0SwOd8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbJ5a-0068ep-RW; Fri, 15 Oct 2021 09:01:19 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbIhD-0061n6-S3 for linux-arm-kernel@lists.infradead.org; Fri, 15 Oct 2021 08:36:09 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 26814DFE31; Fri, 15 Oct 2021 01:36:05 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 682hVSIiObDR; Fri, 15 Oct 2021 01:36:04 -0700 (PDT) From: Martin Kepplinger To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com, krzk@kernel.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Martin Kepplinger Subject: [RFC PATCH v1 0/4] support the Librem 5 front camera Date: Fri, 15 Oct 2021 10:35:02 +0200 Message-Id: <20211015083506.4182875-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211015_013607_959435_7F100A0B X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. 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 The first patch adds a shared "r3.dtsi" and is only refactoring. The is an RFC because of patch 2 that describes the power supplies as regulators. Suggestions are very welcome. Patch 3 and 4 should be straight forward camera descriptions according to the drivers. thank you, martin Martin Kepplinger (4): arm64: dts: split out a shared imx8mq-librem5-r3.dtsi description arm64: dts: imx8mq-librem5: describe power supply for cameras arm64: dts: imx8mq-librem5: describe the selfie cam arm64: dts: imx8mq-librem5-r3.dtsi: describe selfie cam XSHUTDOWN pin .../boot/dts/freescale/imx8mq-librem5-r3.dts | 25 +---- .../boot/dts/freescale/imx8mq-librem5-r3.dtsi | 45 +++++++++ .../boot/dts/freescale/imx8mq-librem5-r4.dts | 16 +--- .../boot/dts/freescale/imx8mq-librem5.dtsi | 96 ++++++++++++++++++- 4 files changed, 144 insertions(+), 38 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi