linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: Denis CIOCCA <denis.ciocca@st.com>,
	Jonathan Cameron <jic23@kernel.org>,
	linux-iio <linux-iio@vger.kernel.org>,
	Mario TESI <mario.tesi@st.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [RFC PATCH 2/2] iio: st-accel: Add support for Silan SC7A20 and SC7A30E
Date: Thu, 20 Aug 2020 15:56:27 +0300	[thread overview]
Message-ID: <CAHp75VeAbbqVOTeCheZ5r+LhQ7O+AD=UyduQ3iCcx80EciZ8RQ@mail.gmail.com> (raw)
In-Reply-To: <CAFr9PXkNBunBhrfyrYn1nU=hSw9A2n_fVSSH6HMAtEQ7+MnBdw@mail.gmail.com>

On Thu, Aug 20, 2020 at 3:27 PM Daniel Palmer <daniel@0x0f.com> wrote:
> On Thu, 20 Aug 2020 at 03:19, Denis CIOCCA <denis.ciocca@st.com> wrote:
>
> > I strongly disagree that these parts will be supported by STMicroelectronics driver.
>
> The alternative seems to be write a totally new driver that does
> exactly the same thing, use a lot of people's time to get it ready to
> go into the kernel etc when we could come up with a way to allow the
> driver to accept a different WAI register value in a non-intrusive way
> that can go in the bin at a later date if it turns out supporting
> these chips is too much hassle.

Which is fine with me, I mean adding an ID is a common practice for
competing hardware clones.

> > We DO NOT want to find out one day that we need to modify our structure in order to support competition.
>
> I think Jonathan suggested adding me as a reviewer for these parts
> thus making me responsible for them.
> I'm fine with that. If it comes to the point where the driver changes
> so much that it's not possible to keep them working then you'd have my
> blessing to just remove support for them.

I encourage you to do this. I guess it's much better if we have
someone, than orphaned code in the kernel.

> That said I'm not going to force this on anyone.
> This patch was a spin-off of a personal project to try to make cheap
> Linux capable SoCs available to makers[0].

And again full support from me here.

It's a really very strange position of STMicro here. I as a maintainer
/ reviewer / supporter of a lot of hardware have a good example of
collaboration with contributors from other companies when they do
improve our drivers. And I have been doing the same for others, for
example Synopsys DesignWare SATA driver which had been found on PPC44x
platform.

> One of the devices I used
> to reverse engineer that hardware had one of these Silan parts, I
> noticed the registers looked exactly the same as ST parts supported in
> the kernel already and upon testing they worked so I thought it was
> worth throwing this out there. If you guys don't want to deal with it
> I'll just leave it in my tree.

> [0] - https://github.com/breadbee/breadbee

-- 
With Best Regards,
Andy Shevchenko

  reply	other threads:[~2020-08-20 12:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 13:48 [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones Daniel Palmer
2020-08-11 13:48 ` [RFC PATCH 1/2] dt-bindings: vendor-prefixes: Add vendor prefix for Silan Daniel Palmer
2020-08-16  8:50   ` Jonathan Cameron
2020-08-11 13:48 ` [RFC PATCH 2/2] iio: st-accel: Add support for Silan SC7A20 and SC7A30E Daniel Palmer
2020-08-16  8:52   ` Jonathan Cameron
2020-08-16  9:27     ` Daniel Palmer
2020-08-16  9:40       ` Jonathan Cameron
2020-08-16  9:55   ` Andy Shevchenko
2020-08-16 11:59     ` Daniel Palmer
2020-08-19 18:19       ` Denis CIOCCA
2020-08-20  9:01         ` Jonathan Cameron
2020-08-20  9:17           ` Greg KH
2020-08-20 12:27         ` Daniel Palmer
2020-08-20 12:56           ` Andy Shevchenko [this message]
2020-08-20 12:34         ` Andy Shevchenko
2020-08-12  9:20 ` [RFC PATCH 0/2] iio: st-accel: Add support for Silan clones Jonathan Cameron

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='CAHp75VeAbbqVOTeCheZ5r+LhQ7O+AD=UyduQ3iCcx80EciZ8RQ@mail.gmail.com' \
    --to=andy.shevchenko@gmail.com \
    --cc=daniel@0x0f.com \
    --cc=denis.ciocca@st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=mario.tesi@st.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).