Path: csiph.com!news.mixmin.net!feeds.phibee-telecom.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Dmitry Torokhov Newsgroups: linux.kernel Subject: Re: [PATCH v5 0/4] Add device tree support to the cyttsp driver Date: Wed, 27 Jan 2016 23:40:03 +0100 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=X7AvUTYue+Ke5he1j7+lWbz9b++gqa3xS9PNWhTCBPg=; b=Fz6cDpGaHEN9VKrm72PUrZew45gke9R0AQn6NVx45JYHtpQWK0LWIC7+tO08GQleA0 Z19nHdUGzcgLXg8kP6cuYYuVdFIIf20brgjC2zQbrhI2dQaVIOxxKReXJAD0L+a0+kuj MkP/7Yk+0mUzZq3wph1zdNfSA1pnutSOES4BkqaK7kj6XGA6GOKtrSS+tAAkBl2TXB04 EtksaxinuPOu7sGRZ3RjwD1V1QmfzAHXsjW4r00TxzBOaelk4UGP1iMXI2+wAv2GpEUB zrbJIkMH2Qzd/RJEEBml/oLw7WTYCiAOYJL+CtwyMWPLQfCT2MPI0FNTQaFU5BmX/vg6 TGxA== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=X7AvUTYue+Ke5he1j7+lWbz9b++gqa3xS9PNWhTCBPg=; b=jett+GgnObkdy5YZcvKGDc80YY5iccLq14MRHXJZimVgElJy6NqaoDpghf19n4B6kd 1p+A+svlw4S4kpjiZ95idTfOWUMo0ohpo3oNvtHFoYTxACSRXhsO9dSOimJAZRrChBKA o33iX0McQ2HxXFoicUDnsm3Oh8vyH/hFz2NY6WcbLnApJRNfDP99XIbLuTtzQZDNAzFj JUBhpyQ2J8jlXQyb1MVNU/pur+I2PI6BWgAJnjOoEf5m588Bs/eX8NmYKTTUYtjPpY/0 AF5IH+gRGN//QOAB1/4HZRq19m86RrG/0cbxt6hfaSxLM/R8DOm5dPMMCLMg1FvPMfsh wVjg== X-Gm-Message-State: AG10YORX+QmiO+hl2iXtkAJYDpUFimb+wh6hm6P3DyuJmniynFVZSCVu7/08VYk39ifTAA== X-Received: by 10.66.237.35 with SMTP id uz3mr46341347pac.96.1453934183350; Wed, 27 Jan 2016 14:36:23 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway X-Original-Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, fery@cypress.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org X-Original-Date: Wed, 27 Jan 2016 14:36:20 -0800 X-Original-Message-ID: <20160127223620.GA3482@dtor-ws> X-Original-References: X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1320089 On Thu, Jan 21, 2016 at 11:21:28PM +0100, Oreste Salerno wrote: > Implement a number of updates for the cyttsp driver to be able to parse generic > ACPI/of/static properties and drop support for platform data (no platform data > user is present in the kernel tree). > Applied all 4, thank you. > --- > Changes in v5: > Use custom devm action to turn off the chip > Make reset gpio and touchscreen size properties optional > Changes in v4: > Major rework based on Dmitry's review: > - Use device_property_read() functions instead of of_property() > - Use touchscreen_parse_properties to parse common properties > - Drop support for platform data > - Used devres managed allocations > Changes in v3: > - Rework binding names and descriptions > Changes in v2: > - Fix err_cast.cocci warning in patch 2/3 > Oreste Salerno (4): > Input: cyttsp - use devres managed resource allocations > Input: cyttsp - check return value of input_mt_init_slots > Input: cyttsp - switch to using device properties > Input: cyttsp - perform hard reset of the chip during probe > > .../bindings/input/touchscreen/cyttsp.txt | 95 ++++++++++ > drivers/input/touchscreen/cyttsp_core.c | 193 +++++++++++++-------- > drivers/input/touchscreen/cyttsp_core.h | 10 +- > drivers/input/touchscreen/cyttsp_i2c.c | 10 -- > drivers/input/touchscreen/cyttsp_spi.c | 10 -- > include/linux/input/cyttsp.h | 15 -- > 6 files changed, 228 insertions(+), 105 deletions(-) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cyttsp.txt > > -- > 1.9.1 > -- Dmitry