Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3480155pxb; Mon, 1 Nov 2021 14:40:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWctfOzrVRweq1DfChlmfOqmVc/Liwods7r6j5ysLvMWdZ5IOxyrD5Sfq28WL9CkZGaZ9W X-Received: by 2002:a05:6602:2c07:: with SMTP id w7mr22753945iov.122.1635802838577; Mon, 01 Nov 2021 14:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635802838; cv=none; d=google.com; s=arc-20160816; b=mGyI25fVPnUw1LTU0y3Hl+VFv4UK6gKf7/bWh5yea+aVKuDHtLJNcdQjIWJCGJp6S8 L41OcBd61h63mu7fPyzXtLao+9re224BZwbG/eMBVQ6IwU3chfdw/gq1u0pqp9832xL6 hl+MVNrK2WmDMav3+E+kM6g2kY0GS9fgfoF6i6lx7/0B5ESFbp0fpK6UL6T5fBdJx1Wx l6YWEw24riYicsy7cjxEt2KJk0hcaQIAxol87VETcxEIkU5PU1mWGvRL1Prr74NMy+V8 8GXD3WtqbKLbeSZPPzzmboWRX+LKSzm3REqMIAN0pU86Wkac4HmPYgYIHWT44Amv8kdK Y5lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3FwLLyJKx1GjeOB8yfv/tXfC5sTlYYY8+Nr2Ii7DjYE=; b=RhNpsL2knlNydPyIrc8ud4jv6khfJiFFV+zpkqlyZUtVbNbRCz7B1Fo1c+13D3wlgw vGNlgTHmbgB8UJc2zkPHmq8Vkn8nsx9fjfGFvMLAw4d1uxfPixTi3O0gTwk/emN4UYoy 5UJOm45UtMdqnb8CWCxHDf3f6GbjTKtlgOXPwmEFgIbX1TcL44SZqeydYWwDxu5EVDUW dGwIEPYnuS6nDHtTNZ58iA/xrTdToCP52U/a7MDiZskk2ScUuikcYqrXhP+LEM+piO/q XIJTvmHT3o7JmhOqtIbiKz30G8j6loLuzws/CjC7coFk+Kltk9ykOwrMwRhVbrL2oC4U O0Zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si5704959jam.42.2021.11.01.14.40.21; Mon, 01 Nov 2021 14:40:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231775AbhKAVmD (ORCPT + 99 others); Mon, 1 Nov 2021 17:42:03 -0400 Received: from mail-ot1-f47.google.com ([209.85.210.47]:39733 "EHLO mail-ot1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231693AbhKAVlw (ORCPT ); Mon, 1 Nov 2021 17:41:52 -0400 Received: by mail-ot1-f47.google.com with SMTP id x16-20020a9d7050000000b00553d5d169f7so25524528otj.6; Mon, 01 Nov 2021 14:39:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3FwLLyJKx1GjeOB8yfv/tXfC5sTlYYY8+Nr2Ii7DjYE=; b=0zA9uWrQF1iAUhh8hST1XFCRdQud4ek2QxLzFcUO0pkXU9vRsa287mOLyhg3t/F9/l Z41IYXQbecwKxFB+R5dOV9DT+j72R8Nt4PFHXeLjYYbNRYqR1GQwSB9PFjRCyei04jFE glkln++BbEPNee1OMv9F/O1IagG1vT7sw1oQF2LSwKDoRK3g7Yccjf5P5PzuEgyX75dJ uQ3JyjB/j4CvcxRUYJBjHHIY6Ren2Yb5bw7Mkd5+zKF6qmyyfUK11H0CSuyKKCbTfjXw hezQMIOjKQXPbYNphMrVRQ4omyZ9iC/CaVP7QHUCoOBrNsUNzUzALa4jLs8bRgY9ixxp MTkA== X-Gm-Message-State: AOAM531SlNfUtWmRXobDLzRPPKjw1R5ObCDxIpjpyJjVCylU3t2kPsfq 5P31SD+M//YrBHo5Fog7hw== X-Received: by 2002:a05:6830:1516:: with SMTP id k22mr11498596otp.280.1635802758187; Mon, 01 Nov 2021 14:39:18 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bd5sm2043230oib.2.2021.11.01.14.39.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 14:39:17 -0700 (PDT) Received: (nullmailer pid 1114161 invoked by uid 1000); Mon, 01 Nov 2021 21:39:16 -0000 Date: Mon, 1 Nov 2021 16:39:16 -0500 From: Rob Herring To: Nikita Travkin Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, ~postmarketos/upstreaming@lists.sr.ht, broonie@kernel.org, devicetree@vger.kernel.org, linus.walleij@linaro.org, Michael.Srba@seznam.cz, robh+dt@kernel.org, phone-devel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH 2/6] dt-bindings: input/ts/zinitix: Convert to YAML, fix and extend Message-ID: References: <20211027181350.91630-1-nikita@trvn.ru> <20211027181350.91630-3-nikita@trvn.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211027181350.91630-3-nikita@trvn.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Oct 2021 23:13:46 +0500, Nikita Travkin wrote: > From: Linus Walleij > > This converts the Zinitix BT4xx and BT5xx touchscreen bindings to YAML, fix > them up a bit and extends them. > > We list all the existing BT4xx and BT5xx components with compatible strings. > These are all similar, use the same bindings and work in similar ways. > > We rename the supplies from the erroneous vdd/vddo to the actual supply > names vcca/vdd as specified on the actual component. It is long established > that supplies shall be named after the supply pin names of a component. > The confusion probably stems from that in a certain product the rails to the > component were named vdd/vddo. Drop some notes on how OS implementations should > avoid confusion by first looking for vddo, and if that exists assume the > legacy binding pair and otherwise use vcca/vdd. > > Add reset-gpios as sometimes manufacturers pulls a GPIO line to the reset > line on the chip. > > Add optional touchscreen-fuzz-x and touchscreen-fuzz-y properties. > > Cc: Mark Brown > Cc: Michael Srba > Cc: phone-devel@vger.kernel.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij > [Fixed dt_schema_check error] > Signed-off-by: Nikita Travkin > --- > This patch was previously submited here: > https://lore.kernel.org/linux-input/20210625113435.2539282-1-linus.walleij@linaro.org/ > > Changes since the original patch: > - Use enum for compatible list instead of oneOf + const > --- > .../input/touchscreen/zinitix,bt400.yaml | 115 ++++++++++++++++++ > .../bindings/input/touchscreen/zinitix.txt | 40 ------ > 2 files changed, 115 insertions(+), 40 deletions(-) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml > delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/zinitix.txt > Reviewed-by: Rob Herring