From patchwork Thu May 31 10:34:40 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: 137350 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6420418lji; Thu, 31 May 2018 03:36:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLoxGCtDSKYERjmn7VYpANoUfOsazX/Z2Jw5Yw2FkISwu+Srpcl/f7+eI4n1f90AWu9A6vp X-Received: by 2002:a17:902:74cc:: with SMTP id f12-v6mr6492806plt.7.1527762971317; Thu, 31 May 2018 03:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527762971; cv=none; d=google.com; s=arc-20160816; b=LJEdhSf3Zk18k6PuY3TmabIn/iXIiJ1zIDBamHPhqx2v6WIUaFbxn3L1qs2VPiMyVq 7rupBhjt/coAcEXhv4ZnaB27OW5q8IYzHTwlBiW9NQfW0G4++A5aat0Q9gXMjRCGjmT9 +HhR7fngaSEQaIig7Rq91u5Aca5zT+D6T2CJqSP6h+zuI6TtlKlnNNb4RVl2dUM0hAtg EpxdCQ+uKu90+QW5+6KnWX2dGvQTxVXtekqUhmyqAfQktvN/I+cKCsiEMQ/g1OakHiK/ psi+3+rvRwIZXPbMkip9+bEP7q/+6u8fDXUyZ2C/n9R0rZUWwM3WndJ7eqd30smlNcGk bskw== 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=Y1465XYqS3dn8+5oChtp5x83EXY4CsDhsitNJ/oQwM0=; b=aH6HfBzs0VP1gnOgl/ulGx/NRlMqh9txSu49Usw34R+JrwQEJunctqg2NJZYkzfSQ+ 89g8pirZo1AO+OVAGpN8qZliDYy0gnvZNntim7aTQ2Bb8PB4VvQN+57WzUhSz1z4pCl1 dEmSrBXgpnQVrWngzYe5tNpdrrtbAM6Q6y8cAeiJkxYm6LQbTix1dPde7nfzahgdOeQT qVaFF7+5zUgmVzV2IzRZYvb3BLQtbMFteuI2hfr193jgU6jvUBh6w0ggnWXpY9yOgSuS 5dYv5mlbp9g+GLt1amQcIGLkzC+2YxGVLfqhWsvzHZIgk1SYzwWCJ3cOu+tgMotcftP9 Azlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=esTelQE2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 b66-v6si37270590plb.107.2018.05.31.03.36.11; Thu, 31 May 2018 03:36:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=esTelQE2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754604AbeEaKgJ (ORCPT + 30 others); Thu, 31 May 2018 06:36:09 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:40472 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522AbeEaKfk (ORCPT ); Thu, 31 May 2018 06:35:40 -0400 Received: by mail-pf0-f195.google.com with SMTP id f189-v6so10591646pfa.7 for ; Thu, 31 May 2018 03:35:40 -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=Y1465XYqS3dn8+5oChtp5x83EXY4CsDhsitNJ/oQwM0=; b=esTelQE2iCw5qaFE4tBSo3Zfxf2i3Hck8twaYEVlTfJbZDF+lIY1LicYgEgwET8Xsj k3ebQF1JeTINXwpdOPWpqqhMrgTbzrvZjuucOzHGik8vkU47Ge6DQhk6kOlwK5amV6rf zjzuODzyzZgFTyH4j4RMHR/SOXgdWDritIW4Y= 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=Y1465XYqS3dn8+5oChtp5x83EXY4CsDhsitNJ/oQwM0=; b=hL8InppyY37H/uS0cllNa8yu+Iksah5Gujy2MKxMGZc83ut8xTuTUPf0IjWHgBeGNA oKA09P6BHYNbr4l7rkVrfFvwbapgQ4zIABd0cl8yne5aMJ6L10Ilna2pGKFNpFCKfeg6 v1jDASmnKKHtlRU/evqDFeHYMuBQZduuBmBOoXXh3kXRPtsh5pH8RtoMm1KhPHa0F/9h 4QrKfnXGtB7UJ/f2QPSiHhDDtHJ9modpmfXWBMn8k/B0YW07KQmzUSBf2Pz95X8C1Z+d 4z0UpjZ2i/xh+BQIgU4xabS0aRGdhHQGgzSrJH4xpka8HeVaudFEB0mE4xEgohDmvk46 9LoQ== X-Gm-Message-State: ALKqPweAK/+1aKiRPrXgzvRf5OowzlZSmmlynW/j2udCDBdlWXEVkRmq freKzBO7VXKzkswfpsA7WlbTsg== X-Received: by 2002:a63:8c10:: with SMTP id m16-v6mr5198180pgd.120.1527762940335; Thu, 31 May 2018 03:35:40 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id w14-v6sm13697161pfn.40.2018.05.31.03.35.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 May 2018 03:35:39 -0700 (PDT) From: Baolin Wang To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.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: [RESEND PATCH v4 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation Date: Thu, 31 May 2018 18:34:40 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 Reviewed-by: Rob Herring --- 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 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>; + }; + };