Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp19686ybt; Tue, 30 Jun 2020 13:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7gPFzEoq6w7RWetVruRMgOhkX46kqnoHs4a/L+DRu1ZQSTfhBiAa9np3wfC6zTq13iaq+ X-Received: by 2002:a17:906:4b59:: with SMTP id j25mr15310497ejv.301.1593550176084; Tue, 30 Jun 2020 13:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593550176; cv=none; d=google.com; s=arc-20160816; b=gKkDcOGpcXanBKhkvUeoMOIy1E8Reyv3dyHI88B2t+wH7+1wBgk2rA43UVIfrWFwgS gu8U88xAONvdLDz3mgcB+i5ICF3eqFtubMSOIVffuywfKL/pasDPoy8oaUeuPVxEeZ+0 vCOswWOHYgRs7It4PjFjwkMpSmCdXI1VJmngGSc8ROJw5J+xy+Kl6iMDR2VXwEwLK4Q5 SdHZbBIjxKexj09Nmsz2AUThbuB1HQhgy+NpP5fXEvF/QlD7w3YrT43yVaJRqD/obXho +VA6xBONwSDx9B51G/P7bUWIor3listm4fMfgHuEbk0tFEFlFOiItu6wTgJHUF5ifBOs JAUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Z50zmfnBPo2u0p8708BAruvf3MnDJq1nng3tchC4BxM=; b=ydQbzxiNwyWzULp/zXpvYevDo0eDbc9od8FdZb3DMBbP2+sqTFNIxcVbfhyZzrH7/V 5M3WXx/NEDVMuTc717C6EL8vD7TTFoBz27aNxkQ2BzNtwxG0MqF9wE6Emf3PrAMQxX5K wIn8rRRwCuOQkYl1ZIqE0Tsz3tlIqs9R3AO5t3cDRkr/WrnKnrYNW4nNQA7zthyLtksn 3pK7mook9hpdLarD/HzKXVMoEnaqb45P6hZ0iDxJKP2Ubin4gieu9bBG7n5xzEWwXPH4 wQbQ4DDhdG+H4nORGbdMmx/TU9OjdQIRNAEEHFlO8fbmn4AeH7UHxu+vszOg3TmxFL92 i2Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=CSRw4qA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si2496359ejj.365.2020.06.30.13.49.12; Tue, 30 Jun 2020 13:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=CSRw4qA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbgF3TWh (ORCPT + 99 others); Tue, 30 Jun 2020 15:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgF3TWg (ORCPT ); Tue, 30 Jun 2020 15:22:36 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3F54C061755; Tue, 30 Jun 2020 12:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z50zmfnBPo2u0p8708BAruvf3MnDJq1nng3tchC4BxM=; b=CSRw4qA3mqrXDXC30pTR66alas v8/PTBq36Esj+PKN5s/rhns+lUf5KGCaFmEjZLDjCMief1m4AzpfaSpc4pou2l0sWIOxlI1pDg654 1hCURAZCV5U5z0PapH1RKgrrIwNB7wug4UAaLLNjuNBQINiSr99qYZPe67P4DDMxbpTc=; Received: from p200300ccff14dd001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff14:dd00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jqLpZ-0001r0-AN; Tue, 30 Jun 2020 21:22:09 +0200 Date: Tue, 30 Jun 2020 21:22:07 +0200 From: Andreas Kemnade To: Jonathan =?UTF-8?B?TmV1c2Now6RmZXI=?= Cc: linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Thierry Reding , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Alessandro Zummo , Alexandre Belloni , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Heiko Stuebner , Josua Mayer Subject: Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers Message-ID: <20200630212207.018ad355@aktux> In-Reply-To: <20200630071523.GA2983@latitude> References: <20200620223915.1311485-1-j.neuschaefer@gmx.net> <20200630084051.66feadea@aktux> <20200630071523.GA2983@latitude> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Jun 2020 09:15:23 +0200 Jonathan Neusch=C3=A4fer wrote: > On Tue, Jun 30, 2020 at 08:40:51AM +0200, Andreas Kemnade wrote: > [...] > > got a chance to test it on a Tolino Shine 2 HD. > > It uses the RTC from the RC5T619 but backlight seems to go via MSP430 > > EC. > >=20 > > I got this. > >=20 > > [ 1.453603] ntxec 0-0043: Netronix embedded controller version f110 = detected. > > [ 10.723638] ntxec-rtc 21a0000.i2c:embedded-controller@43:rtc: regist= ered as rtc0 > > [ 10.775276] ntxec-pwm: probe of 21a0000.i2c:embedded-controller@43:p= wm failed with error -5 =20 >=20 > Hmm, -EIO from the PWM driver. > Weird... IOMUXC_SW_PAD_CTL_PAD_I2C1_SDA/SCL is identical between vendor kernel (heavily patched 3.0.35) and patched mainline. =20 MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 root@tolino2:~# i2cset -f 0 0x43 0xa3 0x0001 w WARNING! This program can confuse your I2C bus, cause data loss and worse! I will write to device file /dev/i2c-0, chip address 0x43, data address 0xa3, data 0x01, mode word. Continue? [Y/n]=20 Error: Write failed root@tolino2:~# i2cset -f 0 0x43 0xa3 0x0000 w WARNING! This program can confuse your I2C bus, cause data loss and worse! I will write to device file /dev/i2c-0, chip address 0x43, data address 0xa3, data 0x00, mode word. Continue? [Y/n]=20 Error: Write failed but backlight gets toggled. Same behavior on vendor kernel and in vendor uboot. That smells. Regards, Andreas