From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755952AbcFHHjS (ORCPT ); Wed, 8 Jun 2016 03:39:18 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:34509 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755886AbcFHHjP (ORCPT ); Wed, 8 Jun 2016 03:39:15 -0400 MIME-Version: 1.0 In-Reply-To: <1464979228-2497-1-git-send-email-aduggan@synaptics.com> References: <1464979228-2497-1-git-send-email-aduggan@synaptics.com> From: Linus Walleij Date: Wed, 8 Jun 2016 09:39:14 +0200 Message-ID: Subject: Re: [PATCH 3/7] Input: synaptics-rmi4: Add dribble and palm gesture parameters to devicetree To: Andrew Duggan Cc: Linux Input , "linux-kernel@vger.kernel.org" , Dmitry Torokhov , Jiri Kosina , Benjamin Tissoires , Vincent Huang , Nick Dyer , "devicetree@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 3, 2016 at 8:40 PM, Andrew Duggan wrote: > Signed-off-by: Andrew Duggan > +- syna,dribble: Control reporting of dribble packets. Values are 0 for > + default, 1 for explicitly disable, 2 for explicitly enable. > +- syna,palm_detect: Control reporting of the palm detect gesture. Values > + are 0 for default, 1 for explicitly disable, 2 for > + explicitly enable. I think these belong in the device tree, but you should add four bool props instead: syna,dribble-disable; syna,dribble-enable; syna,palm-detect-disable; syna,palm-detect-enable; Those are way easier for the human authoring the device tree to cope with than the opaque parameters. Yours, Linus Walleij