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: 10440685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7C1CD602BD for ; Thu, 31 May 2018 10:36:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E9272921A for ; Thu, 31 May 2018 10:36:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 615FC29223; Thu, 31 May 2018 10:36:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 013D529238 for ; Thu, 31 May 2018 10:36:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754433AbeEaKgI (ORCPT ); Thu, 31 May 2018 06:36:08 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:42676 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754504AbeEaKfk (ORCPT ); Thu, 31 May 2018 06:35:40 -0400 Received: by mail-pf0-f194.google.com with SMTP id p14-v6so10584125pfh.9 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=BkcS2HHNY6vLzNNGarcc67x71yRABoyR0N+WwBEjJNQe4cu2XCtRf49EL6ZK6QMnFc 34UsANI/Iqx7nHLSAIwWHPPPIxseJG404NvzDooZKY/NY6n1Iye7/kYWDpT5NO1Dgmvc fQgT2ZwnvU/Pii2a1bkHmKOn5l7e30Xweqr3O0aUN+1f3kNazbptAXUeSbu0dp4URkus yPW08zoZBFS1fBPohKEe1bTO4R48LFbJc/G9bL3XxiG0n2a7DhXozUi94ZkBzRgF9LgX 91EfcL0dtdy0kJbEEFLNROiUJyv/XQ/kdnlZLuAvUJeLpTiSlXtfBBoKSRQy0f2W3IUp vRlg== X-Gm-Message-State: ALKqPwdWY9L+uH2OFfav6VJSY0AtaP0MnEABv591vrH6qINb2oDZNMrj fZTYNjwZqkis5QZf+MsLOsFsIA== X-Google-Smtp-Source: ADUXVKI3kIIHSBezwhebusjnFB8D6CK74AZp1cORsly2vdP0XAwgXg4oeAZ2CNNf3sfJUY90r3esPQ== 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-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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>; + }; + };