From patchwork Mon Apr 23 02:33:35 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: 10356043 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 3B8AB600F6 for ; Mon, 23 Apr 2018 02:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 252A728592 for ; Mon, 23 Apr 2018 02:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17315285B5; Mon, 23 Apr 2018 02:35:01 +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 A303828592 for ; Mon, 23 Apr 2018 02:35:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754019AbeDWCec (ORCPT ); Sun, 22 Apr 2018 22:34:32 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:46122 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753948AbeDWCea (ORCPT ); Sun, 22 Apr 2018 22:34:30 -0400 Received: by mail-pf0-f196.google.com with SMTP id h69so7962641pfe.13 for ; Sun, 22 Apr 2018 19:34:30 -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=cutPDcPyvCDSHVv6QTF8vFRbQJtg5t+gYvZQuMBmKCc=; b=PAx4U9Trc8aYAsgEw18zHZaKapHfrKR4Lck0zYHSrN4dxejO43lSzE6vA7HufsAVVk ynMddJeyb0pEUOXW51BibajjS3njYWxFqEl7p8LBdDLYDtNeI9pmALmErC+ULao2ehTN NtBL0SMVr59qVOp6UlXXcksI0B4Q9Xwi0sfaU= 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=cutPDcPyvCDSHVv6QTF8vFRbQJtg5t+gYvZQuMBmKCc=; b=NcR1+UnoVJipg1mJgGcfIhvkOBnLgyjg9+7GmioRNCVSc9x34Gumlr0RDcpRfiFK03 +fBV62RFeNcxzch+0AIBQNz1wkXLQPGUngBqljsxENON8yJ0MhQXAfza6J0BdFAzJoMe GGw3SYzhAMClhCT1Gjsv5yVqAVwRIg92oHTbULgysszneK8eCXoobSzlpJ+EEPORdR2y wzJR9dO3ZYu7ae8k//B/pXlxQOfao6DZnKOs/HTpNrj0Aog5hT9ipCr8RjN+hQIvuZLU AZ9f4ye+7LB0Dsv7/238bQBUfK716c1fiv2z+Cuv5J0nxgWjN3xSiojjD5HjffK0ztjt pTRw== X-Gm-Message-State: ALQs6tC3gCyjlCbBZ5JfO0PvVl8U0Cfnfi+WGefueBQWK+fRcmpiMeFU JJOzSaZpLFuQc5oxVWLrGilDcA== X-Google-Smtp-Source: AIpwx4/ffRKudv39f39RvqFSZZzbs8PYN/gPyewol1WJlkkvPhzaDz96bYEqeuoLbIz3EzfWaJS56g== X-Received: by 10.99.141.202 with SMTP id z193mr15523939pgd.418.1524450870185; Sun, 22 Apr 2018 19:34:30 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t11sm17693451pgn.94.2018.04.22.19.34.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Apr 2018 19:34:29 -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 v2 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation Date: Mon, 23 Apr 2018 10:33:35 +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 --- Changes since v1: - No updates. --- .../bindings/input/sprd,sc27xx-vibra.txt | 12 ++++++++++++ 1 file changed, 12 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..92ead29 --- /dev/null +++ b/Documentation/devicetree/bindings/input/sprd,sc27xx-vibra.txt @@ -0,0 +1,12 @@ +Spreadtrum SC27xx PMIC Vibrator + +Required properties: +- compatible: should be "sprd,sc27xx-vibrator". +- reg: address of vibrator control register. + +Example : + +vibrator@eb4 { + compatible = "sprd,sc27xx-vibrator"; + reg = <0xeb4>; +};