From patchwork Thu May 10 05:08:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 135388 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp568116lji; Wed, 9 May 2018 22:09:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqP9mzHEYOKsGgNU5geNPRDshMol2hX5JYGRz+MlvxvziMeAedSb2GblewRtprTlEjyTHk2 X-Received: by 10.98.144.86 with SMTP id a83mr36122904pfe.186.1525928942032; Wed, 09 May 2018 22:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525928942; cv=none; d=google.com; s=arc-20160816; b=nGfAArSzVSn3o97ZgSMhKcZybDw9J2vMWVX1b122wSKC9EX0K6wpxUzHlXFf9ZUaOq Cf9kq155s0uNoaku44aPN+NUQ77r96acIBlesRBj7H1lVX+Pqh8p0mPqZtXRHTPEPwqd sEK/fKY+oVyMVcqFHUyiyd6RCxyMtG41250A8YXSEpBqn8iU0D+LcZ8z0VS1SQOUOqaA RZKQTipYcWGGDJ0psg4UyRGJM/je6GjoDjjgMhm1l9kxZOssEb0cf2fZcAdg+G588LEu juJcIF+JkIcrI/BHVlMcYpufu9ehGUZ4ZWSwqop1XHI3WH2f2oa5ghVNsI5ikYf7vH6i 969w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=cdsp/A5ZQjisbdHCXFNYAx3+OhIDrJrwwUKT9xl9FrA=; b=NZ1hMjT4Wd666jPqA0hvVJzN7F75JkgpWAzJztnljbA5HM0fqie13pWBaT5GZqgsp1 oiJo0OZLKPZw/DKxXcYURIzMKxP7ylb5Q/fMWD54vSRYuQxYGRVNSdA8ngZ2LAX+JZbd 5oTOzR1Yjkf/tNPG+lW/PlZkCSXCwVEQ/O7fLG7Kpk1KRRsgTFT6gig50q0i6c36IoYz Kf4XqQ9ACkSfm4iWWUv73m5tzG3kv8fz9QqNwBmRr9Lz8xpbZ91fX+xPiWMlluA11TrH W6wjcGJKHYFp7IbBW01U2dvN3R4g5bWgnrMVSEuHfcpzwQQeDGfoDW7j8unq4EBVuQv+ Oqiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H/ilTi3F; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si2134003pgc.515.2018.05.09.22.09.01 for ; Wed, 09 May 2018 22:09:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H/ilTi3F; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756537AbeEJFJA (ORCPT ); Thu, 10 May 2018 01:09:00 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:45275 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756522AbeEJFI6 (ORCPT ); Thu, 10 May 2018 01:08:58 -0400 Received: by mail-pl0-f65.google.com with SMTP id bi12-v6so587761plb.12 for ; Wed, 09 May 2018 22:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dnJxcC9fYjws6z1w7eEx/5CUcx9PDOY06hR2b13Psmk=; b=H/ilTi3FKXV5we72WhCnOUI4rDcbQRZmqHmpsMQFvqCbcLLshpY28dsw/5/NZBLmsb SluwK1C6+u2goSbM40EqNQrvFwKb64v208+0tQXdj5DpRvrOG5ZpNRSoITDRSvSBovqt OqoxxiNpVpUAAM6ZhQWuJvnju1Yfs4vhk6BPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dnJxcC9fYjws6z1w7eEx/5CUcx9PDOY06hR2b13Psmk=; b=E+Odh1GVC0PgeVYhQYrOkBNKV9/4RbdW9nzc6F5JAVRcFBPlvzojLaWxDac8bagpU+ fbz5ONb6LobfMmAis/WkWnWUztGlCeUa3hkUcK0bMAu4xFIwmkia7/TmlUM856A64Z32 D/gLLW5fBk60fyn6UioFGE5RPQ4bPAHw+Z88KI91IARqyTbebOT1Hs0DEn1NBVHqKHJq fJwizVwzK1pfVFTKmP6Ak6WqNyz+SLzNUpLAmn+oaVMDS0gVoZm3W3a+F3uci9VgmeH1 IkmddDjP9N1eK+EjNQoJhehAOpg7KcEyo+PJ82PiVgxcj5nQaenIFul6T7h10YFd+lho jmiQ== X-Gm-Message-State: ALQs6tBbkSxFHhjkFL+RyOJkLtJ/TqKDvfvr23CLmwpmBspGcQZCJiY1 fOMyXQQE982/C7WWhK0gCoZ4lA== X-Received: by 2002:a17:902:7d87:: with SMTP id a7-v6mr17066880plm.264.1525928938079; Wed, 09 May 2018 22:08:58 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id o10-v6sm40853367pgp.30.2018.05.09.22.08.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 22:08:57 -0700 (PDT) From: Baolin Wang To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, orsonzhai@gmail.com, zhang.lyra@gmail.com Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, baolin.wang@linaro.org, xiaotong.lu@spreadtrum.com Subject: [PATCH v4 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation Date: Thu, 10 May 2018 13:08:33 +0800 Message-Id: <44b17778d8f0bf897a316a39516ba2cafecf43c9.1525928437.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Xiaotong Lu This patch adds the binding documentation for Spreadtrum SC27xx series vibrator device. Signed-off-by: Xiaotong Lu Signed-off-by: Baolin Wang --- Changes since v3: - Change compatible string to explicit Soc name. - Add parent MFD node. Changes since v2: - No updates. Changes since v1: - No updates. --- .../bindings/input/sprd,sc27xx-vibra.txt | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt b/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt new file mode 100644 index 0000000..f2ec0d4 --- /dev/null +++ b/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt @@ -0,0 +1,23 @@ +Spreadtrum SC27xx PMIC Vibrator + +Required properties: +- compatible: should be "sprd,sc2731-vibrator". +- reg: address of vibrator control register. + +Example : + + sc2731_pmic: pmic@0 { + compatible = "sprd,sc2731"; + reg = <0>; + spi-max-frequency = <26000000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + + vibrator@eb4 { + compatible = "sprd,sc2731-vibrator"; + reg = <0xeb4>; + }; + };