From patchwork Thu Nov 4 13:22:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12603085 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 2ED16C433EF for ; Thu, 4 Nov 2021 13:25:30 +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 EB3B16120E for ; Thu, 4 Nov 2021 13:25:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EB3B16120E 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=0cUHsG8dyqm+nTqiJvwPe/v3FAwXX0YdneZ1WmhnyTY=; b=Ykhxp7X+qrPzgT TUa40MztIhqTyC/X+jlLbqLrenaj+LmOD4GoaRRiIAcJ8dXaGgoK+/3ivPjqFGQPRcmJeIz3Mqmd5 tEX/qSGfbTd145heyqJBjywU62b7ZdxC0eBC0furzF7NlU0qte6rWUAXaDpnEecZSFUSfCAtNB05e 5V7fpvR6gNQ0ExFmK8lpqHs65jewoM17U0h0qmeGO6prgFDANwoerAY04omhWHjvjVo8d6YQqJWHf pKLRigfugRuZkmLd2YP9IoASlzYfAn8jyXJIgxdjJujB4F09WNijtjXS+Ypoz7uLkACcWn0cxEGo0 oWI/KPG+mUcpHAB/gqkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1micix-008zCN-6x; Thu, 04 Nov 2021 13:24:11 +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 1micis-008zBJ-K8 for linux-arm-kernel@lists.infradead.org; Thu, 04 Nov 2021 13:24:07 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 0886CDFE31; Thu, 4 Nov 2021 06:23:35 -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 aEhtsC27IwzL; Thu, 4 Nov 2021 06:23:34 -0700 (PDT) From: Martin Kepplinger To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org Subject: [PATCH v1 0/4] support the Librem 5 front camera Date: Thu, 4 Nov 2021 14:22:09 +0100 Message-Id: <20211104132213.470498-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-20211104_062406_686061_46C9B05D 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 Shawn and all whom this concerns, 3 weeks ago I sent this as RFC that didn't yield feedback, see below :) Here's the same patches as a proper patchset ready to apply. The first patch adds a shared "r3.dtsi" and is only refactoring. Patch 2 that describes the power supplies on the Librem 5 board as regulators. Patch 3 and 4 should be straight forward camera descriptions according to the drivers. thank you, martin revision history ---------------- RFC v1: https://lore.kernel.org/phone-devel/20211015083506.4182875-1-martin.kepplinger@puri.sm/ and more specifically thoughts on patch 2: https://lore.kernel.org/phone-devel/20211015083506.4182875-3-martin.kepplinger@puri.sm/ 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