All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Heiner Kallweit <hkallweit1@gmail.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	Miguel Ojeda <ojeda@kernel.org>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"open list:ARM/Amlogic Meson..."
	<linux-amlogic@lists.infradead.org>
Subject: Re: [PATCH v2 5/6] auxdisplay: add support for Titanmec TM1628 7 segment display controller
Date: Tue, 22 Feb 2022 13:16:49 +0100	[thread overview]
Message-ID: <f0eeb2f4-b47d-f0d8-2169-388899d1cfdf@suse.de> (raw)
In-Reply-To: <288225b9-85e0-0c46-5d8b-c91f76c796e5@gmail.com>

On 22.02.22 10:44, Heiner Kallweit wrote:
> On 22.02.2022 09:19, Geert Uytterhoeven wrote:
>> Hi Heiner,
>>
>> On Mon, Feb 21, 2022 at 9:26 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>> This patch adds support for the Titanmec TM1628 7 segment display
>>> controller. It's based on previous RFC work from Andreas Färber.
>>> The RFC version placed the driver in the LED subsystem, but this was
>>> NAK'ed by the LED maintainer. Therefore I moved the driver to
>>> /drivers/auxdisplay what seems most reasonable to me.
>>>
>>> Further changes to the RFC version:
>>> - Driver can be built also w/o LED class support, for displays that
>>>   don't have any symbols to be exposed as LED's.
>>> - Simplified the code and rewrote a lot of it.
>>> - Driver is now kind of a MVP, but functionality should be sufficient
>>>   for most use cases.
>>> - Use the existing 7 segment support in uapi/linux/map_to_7segment.h
>>>   as suggested by Geert Uytterhoeven.
>>>
>>> Note: There's a number of chips from other manufacturers that are
>>>       almost identical, e.g. FD628, SM1628. Only difference I saw so
>>>       far is that they partially support other display modes.
>>>       TM1628: 6x12, 7x11
>>>       SM1628C: 4x13, 5x12, 6x11, 7x10
>>>       For typical displays on devices using these chips this
>>>       difference shouldn't matter.
>>>
>>> Successfully tested on a TX3 Mini TV box that has an SM1628C and a
>>> display with 4 digits and 7 symbols.
>>>
>>> Tested-by: Christian Hewitt <christianshewitt@gmail.com>
>>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>>
>> Thanks for your patch!
>>
>>> --- /dev/null
>>> +++ b/drivers/auxdisplay/tm1628.c
>>
>>> +static int tm1628_show_text(struct tm1628 *s)
>>> +{
>>> +       static SEG7_CONVERSION_MAP(map_seg7, MAP_ASCII7SEG_ALPHANUM);
>>
>> This mapping can not be overridden by the user.  Is there any
>> specific reason you didn't make the mapping configurable from sysfs,
>> cfr. map_seg7_{show,store}() in include/uapi/linux/map_to_7segment.h?
>>
> 
> The more features an initial driver version includes, the more discussion
> topics pop up and make it less likely that we end up with at least something.
> I think there's a reason why the driver was resting since the initial
> attempt 2 yrs ago. Therefore I'd like to keep it as a MVP. 
> If somebody should have the need for add-on features, then they can be
> added later.

As I pointed out in your v1, I did implement all that already, as was
requested by Geert on my RFC:

https://github.com/afaerber/linux/commit/bbecf951348c7de8ba922c6c002a09369b717d82

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Ivo Totev
HRB 36809 (AG Nürnberg)

WARNING: multiple messages have this Message-ID (diff)
From: "Andreas Färber" <afaerber@suse.de>
To: Heiner Kallweit <hkallweit1@gmail.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	Miguel Ojeda <ojeda@kernel.org>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"open list:ARM/Amlogic Meson..."
	<linux-amlogic@lists.infradead.org>
Subject: Re: [PATCH v2 5/6] auxdisplay: add support for Titanmec TM1628 7 segment display controller
Date: Tue, 22 Feb 2022 13:16:49 +0100	[thread overview]
Message-ID: <f0eeb2f4-b47d-f0d8-2169-388899d1cfdf@suse.de> (raw)
In-Reply-To: <288225b9-85e0-0c46-5d8b-c91f76c796e5@gmail.com>

On 22.02.22 10:44, Heiner Kallweit wrote:
> On 22.02.2022 09:19, Geert Uytterhoeven wrote:
>> Hi Heiner,
>>
>> On Mon, Feb 21, 2022 at 9:26 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>> This patch adds support for the Titanmec TM1628 7 segment display
>>> controller. It's based on previous RFC work from Andreas Färber.
>>> The RFC version placed the driver in the LED subsystem, but this was
>>> NAK'ed by the LED maintainer. Therefore I moved the driver to
>>> /drivers/auxdisplay what seems most reasonable to me.
>>>
>>> Further changes to the RFC version:
>>> - Driver can be built also w/o LED class support, for displays that
>>>   don't have any symbols to be exposed as LED's.
>>> - Simplified the code and rewrote a lot of it.
>>> - Driver is now kind of a MVP, but functionality should be sufficient
>>>   for most use cases.
>>> - Use the existing 7 segment support in uapi/linux/map_to_7segment.h
>>>   as suggested by Geert Uytterhoeven.
>>>
>>> Note: There's a number of chips from other manufacturers that are
>>>       almost identical, e.g. FD628, SM1628. Only difference I saw so
>>>       far is that they partially support other display modes.
>>>       TM1628: 6x12, 7x11
>>>       SM1628C: 4x13, 5x12, 6x11, 7x10
>>>       For typical displays on devices using these chips this
>>>       difference shouldn't matter.
>>>
>>> Successfully tested on a TX3 Mini TV box that has an SM1628C and a
>>> display with 4 digits and 7 symbols.
>>>
>>> Tested-by: Christian Hewitt <christianshewitt@gmail.com>
>>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>>
>> Thanks for your patch!
>>
>>> --- /dev/null
>>> +++ b/drivers/auxdisplay/tm1628.c
>>
>>> +static int tm1628_show_text(struct tm1628 *s)
>>> +{
>>> +       static SEG7_CONVERSION_MAP(map_seg7, MAP_ASCII7SEG_ALPHANUM);
>>
>> This mapping can not be overridden by the user.  Is there any
>> specific reason you didn't make the mapping configurable from sysfs,
>> cfr. map_seg7_{show,store}() in include/uapi/linux/map_to_7segment.h?
>>
> 
> The more features an initial driver version includes, the more discussion
> topics pop up and make it less likely that we end up with at least something.
> I think there's a reason why the driver was resting since the initial
> attempt 2 yrs ago. Therefore I'd like to keep it as a MVP. 
> If somebody should have the need for add-on features, then they can be
> added later.

As I pointed out in your v1, I did implement all that already, as was
requested by Geert on my RFC:

https://github.com/afaerber/linux/commit/bbecf951348c7de8ba922c6c002a09369b717d82

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Ivo Totev
HRB 36809 (AG Nürnberg)

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

WARNING: multiple messages have this Message-ID (diff)
From: "Andreas Färber" <afaerber@suse.de>
To: Heiner Kallweit <hkallweit1@gmail.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	Miguel Ojeda <ojeda@kernel.org>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"open list:ARM/Amlogic Meson..."
	<linux-amlogic@lists.infradead.org>
Subject: Re: [PATCH v2 5/6] auxdisplay: add support for Titanmec TM1628 7 segment display controller
Date: Tue, 22 Feb 2022 13:16:49 +0100	[thread overview]
Message-ID: <f0eeb2f4-b47d-f0d8-2169-388899d1cfdf@suse.de> (raw)
In-Reply-To: <288225b9-85e0-0c46-5d8b-c91f76c796e5@gmail.com>

On 22.02.22 10:44, Heiner Kallweit wrote:
> On 22.02.2022 09:19, Geert Uytterhoeven wrote:
>> Hi Heiner,
>>
>> On Mon, Feb 21, 2022 at 9:26 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>> This patch adds support for the Titanmec TM1628 7 segment display
>>> controller. It's based on previous RFC work from Andreas Färber.
>>> The RFC version placed the driver in the LED subsystem, but this was
>>> NAK'ed by the LED maintainer. Therefore I moved the driver to
>>> /drivers/auxdisplay what seems most reasonable to me.
>>>
>>> Further changes to the RFC version:
>>> - Driver can be built also w/o LED class support, for displays that
>>>   don't have any symbols to be exposed as LED's.
>>> - Simplified the code and rewrote a lot of it.
>>> - Driver is now kind of a MVP, but functionality should be sufficient
>>>   for most use cases.
>>> - Use the existing 7 segment support in uapi/linux/map_to_7segment.h
>>>   as suggested by Geert Uytterhoeven.
>>>
>>> Note: There's a number of chips from other manufacturers that are
>>>       almost identical, e.g. FD628, SM1628. Only difference I saw so
>>>       far is that they partially support other display modes.
>>>       TM1628: 6x12, 7x11
>>>       SM1628C: 4x13, 5x12, 6x11, 7x10
>>>       For typical displays on devices using these chips this
>>>       difference shouldn't matter.
>>>
>>> Successfully tested on a TX3 Mini TV box that has an SM1628C and a
>>> display with 4 digits and 7 symbols.
>>>
>>> Tested-by: Christian Hewitt <christianshewitt@gmail.com>
>>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>>
>> Thanks for your patch!
>>
>>> --- /dev/null
>>> +++ b/drivers/auxdisplay/tm1628.c
>>
>>> +static int tm1628_show_text(struct tm1628 *s)
>>> +{
>>> +       static SEG7_CONVERSION_MAP(map_seg7, MAP_ASCII7SEG_ALPHANUM);
>>
>> This mapping can not be overridden by the user.  Is there any
>> specific reason you didn't make the mapping configurable from sysfs,
>> cfr. map_seg7_{show,store}() in include/uapi/linux/map_to_7segment.h?
>>
> 
> The more features an initial driver version includes, the more discussion
> topics pop up and make it less likely that we end up with at least something.
> I think there's a reason why the driver was resting since the initial
> attempt 2 yrs ago. Therefore I'd like to keep it as a MVP. 
> If somebody should have the need for add-on features, then they can be
> added later.

As I pointed out in your v1, I did implement all that already, as was
requested by Geert on my RFC:

https://github.com/afaerber/linux/commit/bbecf951348c7de8ba922c6c002a09369b717d82

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Ivo Totev
HRB 36809 (AG Nürnberg)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-02-22 12:16 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 20:19 [PATCH v2 0/6] auxdisplay: Add support for the Titanmec TM1628 7 segment display controller Heiner Kallweit
2022-02-21 20:19 ` Heiner Kallweit
2022-02-21 20:19 ` Heiner Kallweit
2022-02-21 20:20 ` [PATCH v2 1/6] spi: gpio: Implement LSB First bitbang support Heiner Kallweit
2022-02-21 20:20   ` Heiner Kallweit
2022-02-21 20:20   ` Heiner Kallweit
2022-02-21 20:21 ` [PATCH v2 2/6] dt-bindings: vendor-prefixes: Add Titan Micro Electronics Heiner Kallweit
2022-02-21 20:21   ` Heiner Kallweit
2022-02-21 20:21   ` Heiner Kallweit
2022-02-21 20:23 ` [PATCH v2 3/6] dt-bindings: auxdisplay: Add Titan Micro Electronics TM1628 Heiner Kallweit
2022-02-21 20:23   ` Heiner Kallweit
2022-02-21 20:23   ` Heiner Kallweit
2022-02-22 14:22   ` Rob Herring
2022-02-22 14:22     ` Rob Herring
2022-02-22 14:22     ` Rob Herring
2022-02-22 17:00     ` Heiner Kallweit
2022-02-22 18:17       ` Heiner Kallweit
2022-02-21 20:24 ` [PATCH v2 4/6] docs: ABI: document tm1628 attribute display-text Heiner Kallweit
2022-02-21 20:24   ` Heiner Kallweit
2022-02-21 20:24   ` Heiner Kallweit
2022-02-22  8:20   ` Geert Uytterhoeven
2022-02-22  8:20     ` Geert Uytterhoeven
2022-02-22  8:20     ` Geert Uytterhoeven
2022-02-21 20:25 ` [PATCH v2 5/6] auxdisplay: add support for Titanmec TM1628 7 segment display controller Heiner Kallweit
2022-02-21 20:25   ` Heiner Kallweit
2022-02-21 20:25   ` Heiner Kallweit
2022-02-22  8:19   ` Geert Uytterhoeven
2022-02-22  8:19     ` Geert Uytterhoeven
2022-02-22  8:19     ` Geert Uytterhoeven
2022-02-22  9:44     ` Heiner Kallweit
2022-02-22  9:44       ` Heiner Kallweit
2022-02-22  9:44       ` Heiner Kallweit
2022-02-22 12:16       ` Andreas Färber [this message]
2022-02-22 12:16         ` Andreas Färber
2022-02-22 12:16         ` Andreas Färber
2022-02-22 13:39         ` Heiner Kallweit
2022-02-22 13:39           ` Heiner Kallweit
2022-02-22 13:39           ` Heiner Kallweit
2022-02-21 20:26 ` [PATCH v2 6/6] arm64: dts: meson-gxl-s905w-tx3-mini: add support for the 7 segment display Heiner Kallweit
2022-02-21 20:26   ` Heiner Kallweit
2022-02-21 20:26   ` Heiner Kallweit
2022-02-21 22:10 ` [PATCH v2 0/6] auxdisplay: Add support for the Titanmec TM1628 7 segment display controller Miguel Ojeda
2022-02-21 22:10   ` Miguel Ojeda
2022-02-21 22:10   ` Miguel Ojeda
2022-02-21 22:57   ` Heiner Kallweit
2022-02-21 22:57     ` Heiner Kallweit
2022-02-21 22:57     ` Heiner Kallweit
2022-02-22 12:19     ` Andreas Färber
2022-02-22 12:19       ` Andreas Färber
2022-02-22 12:19       ` Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0eeb2f4-b47d-f0d8-2169-388899d1cfdf@suse.de \
    --to=afaerber@suse.de \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=hkallweit1@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=narmstrong@baylibre.com \
    --cc=ojeda@kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.