All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Henning Schild <henning.schild@siemens.com>,
	linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	linux-watchdog@vger.kernel.org
Cc: Srikanth Krishnakar <skrishnakar@gmail.com>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	Gerd Haeussler <gerd.haeussler.ext@siemens.com>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Mark Gross <mgross@linux.intel.com>,
	Hans de Goede <hdegoede@redhat.com>, Pavel Machek <pavel@ucw.cz>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	Enrico Weigelt <lkml@metux.net>
Subject: Re: [PATCH v4 0/4] add device drivers for Siemens Industrial PCs
Date: Fri, 26 Nov 2021 08:02:11 -0800	[thread overview]
Message-ID: <a1a6c43d-401c-19f1-9773-696402974f6b@roeck-us.net> (raw)
In-Reply-To: <20211126163410.2806de5f@md1za8fc.ad001.siemens.net>

On 11/26/21 7:34 AM, Henning Schild wrote:
> Hi all,
> 
> in p3 not too much was left open so i hope this might be the last and
> might be quick.
> 
> The two points that have been open where:
>   1 wish to split wdt driver into two
>   2 wish to use pinctrl for LEDs/WDT
> 
> 1 was ignored for now. We can split later when we add more devices. It
> remains unclear if splitting is the way to go when more devices come.

The code is already quite messy, in part because memory regions are
declared locally and not passed through the parent device as they should.
I don't see how splitting the driver into multiple drivers would improve
the situation. The platform code claims to be inspired by the lpc_ich
driver. Maybe it should take a real example from that and pass version
or variant specific details through platform data instead of maintaining
it in the watchdog driver.

Guenter

  reply	other threads:[~2021-11-26 16:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 14:10 [PATCH v4 0/4] add device drivers for Siemens Industrial PCs Henning Schild
2021-11-26 14:10 ` [PATCH v4 1/4] platform/x86: simatic-ipc: add main driver for Siemens devices Henning Schild
2021-11-26 14:10 ` [PATCH v4 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs Henning Schild
2021-11-26 15:02   ` Andy Shevchenko
2021-11-26 17:48     ` Henning Schild
2021-11-26 18:12     ` Henning Schild
2021-11-30 15:15       ` Andy Shevchenko
2021-12-03 19:35         ` Henning Schild
2021-11-26 14:10 ` [PATCH v4 3/4] watchdog: simatic-ipc-wdt: add new driver for Siemens Industrial PCs Henning Schild
2021-11-26 14:10 ` [PATCH v4 4/4] platform/x86: pmc_atom: improve critclk_systems matching for Siemens PCs Henning Schild
2021-11-26 14:51   ` Andy Shevchenko
2021-11-26 15:25     ` Henning Schild
2021-11-26 15:34 ` [PATCH v4 0/4] add device drivers for Siemens Industrial PCs Henning Schild
2021-11-26 16:02   ` Guenter Roeck [this message]
2021-11-26 17:28     ` Henning Schild
2021-12-03 19:44 ` Henning Schild

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=a1a6c43d-401c-19f1-9773-696402974f6b@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=andy.shevchenko@gmail.com \
    --cc=gerd.haeussler.ext@siemens.com \
    --cc=hdegoede@redhat.com \
    --cc=henning.schild@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=lkml@metux.net \
    --cc=mgross@linux.intel.com \
    --cc=pavel@ucw.cz \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=skrishnakar@gmail.com \
    --cc=wim@linux-watchdog.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.