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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92B73C2D0C3 for ; Sat, 21 Dec 2019 18:21:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6880220665 for ; Sat, 21 Dec 2019 18:21:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726114AbfLUSVB (ORCPT ); Sat, 21 Dec 2019 13:21:01 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:38364 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbfLUSVA (ORCPT ); Sat, 21 Dec 2019 13:21:00 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 4B2391C24DF; Sat, 21 Dec 2019 19:20:58 +0100 (CET) Date: Sat, 21 Dec 2019 19:20:57 +0100 From: Pavel Machek To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: linux-realtek-soc@lists.infradead.org, linux-leds@vger.kernel.org, Jacek Anaszewski , Dan Murphy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , devicetree@vger.kernel.org, Rob Herring , linux-spi@vger.kernel.org, Mark Brown , linux-amlogic@lists.infradead.org, Roc He , zypeng@titanmec.com, sales@fdhisi.com, csd@princeton.com.tw Subject: Re: [RFC 00/25] arm64: realtek: Add Xnano X5 and implement TM1628/FD628/AiP1618 LED controllers Message-ID: <20191221182057.GA32732@amd> References: <20191212033952.5967-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20191212033952.5967-1-afaerber@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This patch series implements the LED controllers found in some RTD1295 ba= sed > TV set-top boxes. >=20 > Ever since I've had mainline Linux kernels booting on my Zidoo X9S TV box, > it's been bugging me that it kept displaying "boot" on its front display. > A hot lead was a TM1628 chip on the front display's daughterboard, which > English and Chinese datasheets were available for. The biggest > hurdle Fun :-). > It goes on to add a "text" attribute to the driver that enables DT-config= ured > seven-segment displays; I was expecting to find precedence in auxdisplay > subsystem but came up empty. So my driver currently integrates its own > generic (but incomplete) character-to-8-segments mapping, as well as in a > second step a combined-characters-to-8-segments mapping, which then gets > mapped to the chipset's available output lines. Doing this as sysfs > device I did not investigate this in great detail; but if it is displaying characters, auxdisplay is probably right subsystem to handle that. I guess LEDs can still take the low-level parts... Oh, and common dimming for many LEDs is seen on other hardware, too (Turris routers). Not sure how to handle that, either :-(. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl3+YokACgkQMOfwapXb+vJoqgCfY5/dzSIdT0c0DWaA1+WWkFdQ 6wkAoIzd/X2VTQwW3tq7WApoawbDjUdO =xFhp -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- 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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6E54C2D0D2 for ; Sat, 21 Dec 2019 18:21:14 +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 53BE920665 for ; Sat, 21 Dec 2019 18:21:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z7BmK+KZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53BE920665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RlR6/wVLbRlielDd9eCjlDOwAiVa68SY1MDna6ZRgxQ=; b=Z7BmK+KZ85GoBfElKb17lF2Du dTIO7WkJGV1Mou0Nz8ocR3eZzwgtW/oC8xFo8hZjOVtE+bUGIJlDJtGmWM8/sakFuriCYGw8l67Ks pFZIugqHIRPhMkNbXCB+hxVLAzZKykKyj5m7T40FS7RNdXg2XgaNZ24iMna4IgEBjm4cciY7VUplk KfMGi01huW5yypZT5y+lV3V4zlMswHNjb404UnEsUJb1wTURYyHymaGln6zR3K1O6PSddP+qw5m8W /C/zj/2SNXWCAr1g/WhjkJBS1Ky1Z25MoYray5nsCNUF3qkDWh5yJr9I6F3vPEfjPQOlKrTpeLk5E a1ww3Tf6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iijNB-0002aX-Jf; Sat, 21 Dec 2019 18:21:05 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iijN7-0002Yt-A1; Sat, 21 Dec 2019 18:21:02 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 4B2391C24DF; Sat, 21 Dec 2019 19:20:58 +0100 (CET) Date: Sat, 21 Dec 2019 19:20:57 +0100 From: Pavel Machek To: Andreas =?iso-8859-1?Q?F=E4rber?= Subject: Re: [RFC 00/25] arm64: realtek: Add Xnano X5 and implement TM1628/FD628/AiP1618 LED controllers Message-ID: <20191221182057.GA32732@amd> References: <20191212033952.5967-1-afaerber@suse.de> MIME-Version: 1.0 In-Reply-To: <20191212033952.5967-1-afaerber@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191221_102101_501941_A8BCB10F X-CRM114-Status: GOOD ( 13.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Roc He , csd@princeton.com.tw, linux-realtek-soc@lists.infradead.org, Mark Brown , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Dan Murphy , linux-leds@vger.kernel.org, zypeng@titanmec.com, linux-amlogic@lists.infradead.org, sales@fdhisi.com, linux-arm-kernel@lists.infradead.org, Jacek Anaszewski Content-Type: multipart/mixed; boundary="===============1020335302142108893==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1020335302142108893== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This patch series implements the LED controllers found in some RTD1295 ba= sed > TV set-top boxes. >=20 > Ever since I've had mainline Linux kernels booting on my Zidoo X9S TV box, > it's been bugging me that it kept displaying "boot" on its front display. > A hot lead was a TM1628 chip on the front display's daughterboard, which > English and Chinese datasheets were available for. The biggest > hurdle Fun :-). > It goes on to add a "text" attribute to the driver that enables DT-config= ured > seven-segment displays; I was expecting to find precedence in auxdisplay > subsystem but came up empty. So my driver currently integrates its own > generic (but incomplete) character-to-8-segments mapping, as well as in a > second step a combined-characters-to-8-segments mapping, which then gets > mapped to the chipset's available output lines. Doing this as sysfs > device I did not investigate this in great detail; but if it is displaying characters, auxdisplay is probably right subsystem to handle that. I guess LEDs can still take the low-level parts... Oh, and common dimming for many LEDs is seen on other hardware, too (Turris routers). Not sure how to handle that, either :-(. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl3+YokACgkQMOfwapXb+vJoqgCfY5/dzSIdT0c0DWaA1+WWkFdQ 6wkAoIzd/X2VTQwW3tq7WApoawbDjUdO =xFhp -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- --===============1020335302142108893== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1020335302142108893==-- 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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B195BC2D0C3 for ; Sat, 21 Dec 2019 18:21:13 +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 8364E20665 for ; Sat, 21 Dec 2019 18:21:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SNXBnlcQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8364E20665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R3HRt9/eyYsmcWXPrcaQZtZQnWW063j8nqEDfooiNOQ=; b=SNXBnlcQpyUBxP8KiqKqNfAlf C0j9bcBkpJyu4WHYEGHI3wOO651jYUT7pmuLsUlr3VQ5p2gXV+FofY4qOTryROx1bxwMVKSdKOJNr PTWXwPEoAFFrB03mrV/ylkvgD/obimNNkvtZ4ZBASyhk1WXx8Vx4eDyLsJtTj0bbZCzB4e7+9K6n+ eiIyP2fY/QG703jg1Bz69IRm5lY/k5j3imrs401EXoPf9Xgh29hH0f86hybTLerz/wg9zsOTPILAI pLhG3VIGEeMCSicMuALXrK02Kt+ffX+wivAk9RH55Iw0nMb8NnDZMwbmdPiPDdcbNmhX6Uk3rcqBq dXtGxSdlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iijN9-0002ZX-IB; Sat, 21 Dec 2019 18:21:03 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iijN7-0002Yt-A1; Sat, 21 Dec 2019 18:21:02 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 4B2391C24DF; Sat, 21 Dec 2019 19:20:58 +0100 (CET) Date: Sat, 21 Dec 2019 19:20:57 +0100 From: Pavel Machek To: Andreas =?iso-8859-1?Q?F=E4rber?= Subject: Re: [RFC 00/25] arm64: realtek: Add Xnano X5 and implement TM1628/FD628/AiP1618 LED controllers Message-ID: <20191221182057.GA32732@amd> References: <20191212033952.5967-1-afaerber@suse.de> MIME-Version: 1.0 In-Reply-To: <20191212033952.5967-1-afaerber@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191221_102101_501941_A8BCB10F X-CRM114-Status: GOOD ( 13.41 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Roc He , csd@princeton.com.tw, linux-realtek-soc@lists.infradead.org, Mark Brown , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Dan Murphy , linux-leds@vger.kernel.org, zypeng@titanmec.com, linux-amlogic@lists.infradead.org, sales@fdhisi.com, linux-arm-kernel@lists.infradead.org, Jacek Anaszewski Content-Type: multipart/mixed; boundary="===============8093394147055701476==" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org --===============8093394147055701476== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This patch series implements the LED controllers found in some RTD1295 ba= sed > TV set-top boxes. >=20 > Ever since I've had mainline Linux kernels booting on my Zidoo X9S TV box, > it's been bugging me that it kept displaying "boot" on its front display. > A hot lead was a TM1628 chip on the front display's daughterboard, which > English and Chinese datasheets were available for. The biggest > hurdle Fun :-). > It goes on to add a "text" attribute to the driver that enables DT-config= ured > seven-segment displays; I was expecting to find precedence in auxdisplay > subsystem but came up empty. So my driver currently integrates its own > generic (but incomplete) character-to-8-segments mapping, as well as in a > second step a combined-characters-to-8-segments mapping, which then gets > mapped to the chipset's available output lines. Doing this as sysfs > device I did not investigate this in great detail; but if it is displaying characters, auxdisplay is probably right subsystem to handle that. I guess LEDs can still take the low-level parts... Oh, and common dimming for many LEDs is seen on other hardware, too (Turris routers). Not sure how to handle that, either :-(. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl3+YokACgkQMOfwapXb+vJoqgCfY5/dzSIdT0c0DWaA1+WWkFdQ 6wkAoIzd/X2VTQwW3tq7WApoawbDjUdO =xFhp -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- --===============8093394147055701476== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic --===============8093394147055701476==--