Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598073

Re: [PATCH 0/8] PS

From Dmitry Torokhov <dmitry.torokhov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/8] PS
Date 2017-03-10 21:30 +0100
Message-ID <tjzkJ-Cj-5@gated-at.bofh.it> (permalink)
References <tjezD-2W7-9@gated-at.bofh.it> <tjv7r-66F-5@gated-at.bofh.it> <tjwZA-7md-27@gated-at.bofh.it> <tjx9f-7F0-3@gated-at.bofh.it> <tjxiV-7Ku-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 10, 2017 at 10:10:30AM -0800, Dmitry Torokhov wrote:
> On Fri, Mar 10, 2017 at 07:04:22PM +0100, Benjamin Tissoires wrote:
> > On Mar 10 2017 or thereabouts, Dmitry Torokhov wrote:
> > > On Fri, Mar 10, 2017 at 04:57:35PM +0100, Benjamin Tissoires wrote:
> > > > Hi Dmitry,
> > > > 
> > > > On Mar 09 2017 or thereabouts, Dmitry Torokhov wrote:
> > > > > Hi,
> > > > > 
> > > > > This is refresh of Benjamin's patches trying to bridge PS/2 and SMbus
> > > > > devices for better support of Synaptics RMI4 touchpads (and Elans later).
> > > > 
> > > > Thanks!
> > > > 
> > > > I have some issues/comments and am still working on those. Here are some
> > > > general comments:
> > > > 
> > > > > 
> > > > > The main difference is that we do not have platform device, as it only
> > > > > adds another indirection level, and have psmouse create SMBus companion
> > > > 
> > > > The purpose of having the platform device was to not have dependency
> > > > between psmouse and I2C. Right now I think that patch 6/8 will fail to
> > > > compile if I2C=m and PSMOUSE=y (I may be wrong).
> > > 
> > > This is taken care by the following guards in users if MOUSE_PS2_SMBUS:
> > > 
> > > depends on I2C=y || I2C=MOUSE_PS2
> > 
> > I can see this guards for MOUSE_PS2_SYNAPTICS_SMBUS, but not for
> > MOUSE_PS2_SMBUS. So unless I am completely missing the point, if users
> > disable SYNAPTICS_SMBUS but keep PS2_SMBUS there might be a problem.
> 
> Hmm, I'll need to play with this. MOUSE_PS2_SMBUS is not user visible.
> Might end up adding condition there as well, or doing somethign more
> elaborate, like Arnd did for RMI_F03_SERIO.

So if I disable MOUSE_PS2_SYNAPTICS_SMBUS then MOUSE_PS2_SMBUS
disappears from .config, so I think we are good.

Thanks.

-- 
Dmitry

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] PS Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-09 23:20 +0100
  [PATCH 7/8] Input: synaptics - split device info into a separate structure Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-09 23:20 +0100
  [PATCH 2/8] Input: serio - add fast reconnect option Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-09 23:20 +0100
  [PATCH 6/8] Input: psmouse - add support for SMBus companions Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 01:00 +0100
    Re: [PATCH 6/8] Input: psmouse - add support for SMBus companions Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-03-10 19:00 +0100
      Re: [PATCH 6/8] Input: psmouse - add support for SMBus companions Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 19:20 +0100
  Re: [PATCH 0/8] PS Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-03-10 17:00 +0100
    Re: [PATCH 0/8] PS Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 19:00 +0100
      Re: [PATCH 0/8] PS Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-03-10 19:10 +0100
        Re: [PATCH 0/8] PS Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 19:20 +0100
          Re: [PATCH 0/8] PS Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 21:30 +0100
      Re: [PATCH 0/8] PS Andrew Duggan <aduggan@synaptics.com> - 2017-03-10 20:00 +0100
        Re: [PATCH 0/8] PS Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-10 21:20 +0100
          Re: [PATCH 0/8] PS Andrew Duggan <aduggan@synaptics.com> - 2017-03-10 21:40 +0100

csiph-web