From mboxrd@z Thu Jan 1 00:00:00 1970 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 44FFBD2CE12 for ; Tue, 22 Oct 2024 17:51:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YzXiqSqg0aayLyb7AVqmSvNxO5PvD8+CWdeuiriR2g4=; b=AXzgZzewC3NhFrWKXpb37ihRGR SXpwtGAhsjmH6jRC9SCpEInwgfOiCFzeKbjCtSrFQREtwmquinvdJtH71Wbyz5d0o+rDbQaSFnES+ i5BbCoNW9dPfMtpk+MKkX5z+g0EuV64b1BpUtSvWBfi8+A1wtExcjXTq16WirEDdwkjn6t3pYgVEY PMAdBborjdBDlvcb2p8FshENh9ICno7Od/nKmGcayaxTcfu/R1Mh5cONS7AgFa3MP9rJwgKm1vTq9 N4cxLYBrfZua8f+WdmL5g5u8bK/D6X32E4LF8FpSjm9ljWz5uv+zZZow/63FdeZDUPllL1TcNvLHI jrM6qF5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3J2W-0000000BjIW-1ezW; Tue, 22 Oct 2024 17:51:28 +0000 Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3Itn-0000000Bh7c-3vsK for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 17:42:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=References:In-Reply-To:Cc:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=YzXiqSqg0aayLyb7AVqmSvNxO5PvD8+CWdeuiriR2g4=; b=WrCJ8CISZzKR5F2k23TGKepHhJ AmOqL5WWVvwpujLtGGbInXiQsofKfQ6xN1HBHTd9jnbuwTeNXRBElnzZyGaIVU//dsb9pSgVGfxO1 9mrqlMaxDHWr8adQivIIl97piVyPc1u2LWwQ0T6EVfzBbc/90bbi59QNJrZFjavcFgZXwmsVdBgBx zG40HCAtTJF9I5Q1y1MLf0bULCuOQ1Kvyy8UhRyQ388bxkJLGfSoproLFmGXNM1HNBPa8G9P6J37S njkI06N7B57rT3mh29Ggx9+YxeavFAhS1AgfiZpKvUOeZiNOUJVpwGKmzYEIGACNTbgqa/qZUjQAJ es6L8phw==; Date: Tue, 22 Oct 2024 19:42:21 +0200 From: Andreas Kemnade To: Conor Dooley Cc: Shawn Guo , Pengutronix Kernel Team , Alexander Stein , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Estevam , Sascha Hauer , imx@lists.linux.dev, Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Rob Herring Subject: Re: [PATCH 2/3] ARM: dts: imx: Add devicetree for Kobo Clara 2E Message-ID: <20241022194221.43b9073b@akair> In-Reply-To: <20241022-refurbish-laborious-e7cc067966dc@spud> References: <20241021173631.299143-1-andreas@kemnade.info> <20241021173631.299143-3-andreas@kemnade.info> <20241022-refurbish-laborious-e7cc067966dc@spud> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_104228_021090_EE4E3D5E X-CRM114-Status: GOOD ( 29.51 ) 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 Am Tue, 22 Oct 2024 17:59:10 +0100 schrieb Conor Dooley : > On Mon, Oct 21, 2024 at 07:36:30PM +0200, Andreas Kemnade wrote: > > Adds a devicetree for the Kobo Clara 2E Ebook reader. It is based > > on boards marked with "37NB-E60K2M+4A2" or "37NB-E60K2M+4B0". It is > > equipped with an i.MX6SLL SoC. > > > > Expected to work: > > - Buttons > > - Wifi > > - Bluetooth > > (if Wifi is initialized first, driver does not handle regulators > > yet) > > - LED > > - uSD > > - USB > > - RTC and also touchscreen. > > > > Signed-off-by: Andreas Kemnade > > --- > > arch/arm/boot/dts/nxp/imx/Makefile | 2 + > > .../dts/nxp/imx/imx6sll-kobo-clara2e-a.dts | 23 + > > .../dts/nxp/imx/imx6sll-kobo-clara2e-b.dts | 23 + > > .../nxp/imx/imx6sll-kobo-clara2e-common.dtsi | 514 > > ++++++++++++++++++ 4 files changed, 562 insertions(+) > > create mode 100644 > > arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-a.dts create mode > > 100644 arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-b.dts create > > mode 100644 > > arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi > > > > diff --git a/arch/arm/boot/dts/nxp/imx/Makefile > > b/arch/arm/boot/dts/nxp/imx/Makefile index > > 92e291603ea13..58db45352b666 100644 --- > > a/arch/arm/boot/dts/nxp/imx/Makefile +++ > > b/arch/arm/boot/dts/nxp/imx/Makefile @@ -290,6 +290,8 @@ > > dtb-$(CONFIG_SOC_IMX6SL) += \ dtb-$(CONFIG_SOC_IMX6SLL) += \ > > imx6sll-evk.dtb \ > > imx6sll-kobo-clarahd.dtb \ > > + imx6sll-kobo-clara2e-a.dtb \ > > + imx6sll-kobo-clara2e-b.dtb \ > > imx6sll-kobo-librah2o.dtb > > dtb-$(CONFIG_SOC_IMX6SX) += \ > > imx6sx-nitrogen6sx.dtb \ > > diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-a.dts > > b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-a.dts new file > > mode 100644 index 0000000000000..33756d6de7aa0 > > --- /dev/null > > +++ b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-a.dts > > @@ -0,0 +1,23 @@ > > +// SPDX-License-Identifier: (GPL-2.0) > > +/* > > + * Device tree for the Kobo Clara 2E rev A ebook reader > > + * > > + * Name on mainboard is: 37NB-E60K2M+4A2 > > + * Serials start with: E60K2M (a number also seen in > > + * vendor kernel sources) > > + * > > + * Copyright 2024 Andreas Kemnade > > + */ > > + > > +/dts-v1/; > > + > > +#include "imx6sll-kobo-clara2e-common.dtsi" > > + > > +/ { > > + model = "Kobo Clara 2E"; > > + compatible = "kobo,clara2e-b", "kobo,clara2e", > > "fsl,imx6sll"; +}; > > + > > +&i2c2 { > > + /* EPD PMIC SY7636 at 0x62 */ > > Could you explain what you're doing here, please? > I am not sure what you are really after with this question... So I am guessing a bit. I describe the hardware as good as possible. The sy7636a (apparently =sy7636) driver could probably be used here but the driver and its bindings needs to be extended to specify an input supply and some gpios. So at the moment I could not use a machine-readable way of fully describe the stuff here. But I want to put a human-readable mark here so if someone extends the driver, he/she might be aware that there are some possible users and candidates for a Tested-by here. For the JD9930 it is even worse. No driver in kernel. I have a pretty dirty one requiring some rounds with the brush before sending it. So the mark is good for information what is missing and for teaming up. Regards, Andreas