Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp926070imm; Sat, 22 Sep 2018 14:06:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV62dZhPFj92sl55VOaSoKEsjIjQJ1pI5/o8AbuLogiyJyWA1mc0eeAX1xsbM2UHZxuIKGuee X-Received: by 2002:a63:5c5d:: with SMTP id n29-v6mr3494034pgm.253.1537650374164; Sat, 22 Sep 2018 14:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537650374; cv=none; d=google.com; s=arc-20160816; b=rRB+WNSp5ddrr+99G/zsn6gyRl5nEZJvhA5GHXOt777XukRXk3MAcrRegpM2UKNKVr BRbVgO6ekRYOCWH0xMbEDNCo6Aoqu7x2ZwtMXcOO/rq1Tlv1PZ6w8ZZTo0KicKAjwLHq BSlROyFWZ2eI0fB2Rs8+6CgqA0fXsSn/6ITnNR9Wv4gJqa/nGgqnuNieJGfUGjITcBkM nxOhPqQIP6czg/pJWTC4YYARPaKEFuKgWchTapDsHvNcHYQc2MUQz1MxL6ZXnvIwF7an GeFdqItojwlNut6NhaMpv9Qz2BhqCmeRX6aIUGQBbxb2rm2CowQfaZfVlsU8/4e9MxTW WDVw== 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; bh=MBy+RNKnOUmTHb65YAdlTNAluCLYjYibeqs9O8pC2u4=; b=NpC9L5I3FMBRL/SozBGRg7OfZPcDLsSy/hqeZJeq0qY6GefOOd7/HJHXSootE6K0SZ 4iBFEhsOmTYpLfS0YNai34CjFt3l9eBkd5kZ3jw0zHjJgaGXaVBEebBHcNIfvLDJhYj3 vypppHamx6CkPt6p9XglgbhDpdPUfjYiuLCKoFDtI/c3+T/B4/rFDDf2PuOrUOaDOOWF 11s4n4llXxDSZlNiWtGAMyg4XTaGxCEX4T9/MPYP4+mldhloEE3TSrz5wfZeSdQ3CM0X eGu/aA0WA+TzZj5BDdx/NqVtiL6NDvP3IqhSLedz8h/YN32CxLKPh9XH0yIS27oHkWfd eKGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZVaOa7q/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si29359839plk.295.2018.09.22.14.05.58; Sat, 22 Sep 2018 14:06:14 -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=@gmail.com header.s=20161025 header.b="ZVaOa7q/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728183AbeIWDAt (ORCPT + 99 others); Sat, 22 Sep 2018 23:00:49 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:52396 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727473AbeIWDAs (ORCPT ); Sat, 22 Sep 2018 23:00:48 -0400 Received: by mail-it1-f193.google.com with SMTP id h3-v6so6140375ita.2; Sat, 22 Sep 2018 14:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=MBy+RNKnOUmTHb65YAdlTNAluCLYjYibeqs9O8pC2u4=; b=ZVaOa7q/N/A2MAhwArRBNHUalSy/3yq30EhI9SBBL+cOyjsPQOr2FGUlV0Bj+3ZVMk bXDzSwyoxY0vbS41UBlW+iNEbp9bqrpHI8YXC48jrcWWJG4B94a4a12MaDHaouhulPE0 x4CDQixkNc7xRpU+Ike6kqcdu+5suDFbfnl/n4/gLxZnylkEwGtqAbpl7s+9u3tMDNFj 4M9N6R1DgDqOjxIYTXlD0MAwfHIu/6Q6WTdVit9FtqLZAnN7uAMM6/3GKSH0qwMC3uKI fpnP0RDF9bkviNyznveiftF3VBWRIyKCOQytupYoQCQ7cshitnFAMo+Bs/txvGJNCQSa 5jGQ== 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=MBy+RNKnOUmTHb65YAdlTNAluCLYjYibeqs9O8pC2u4=; b=YS/6FnqNJSR+NhgYxboiTY1Vxb6mDWsfnAcQm80fCt5DfATTtuJz/FcFhJatcJUc8+ 83WhTgElcG1BenIod8gZAudZXU5CMrJbq+utIZuuw5S6npZ9lSqGbQuWtpvyDsadx8EB SExqzoyS38S5el89IhyENLVjQ717c7+e9G2JGfkfWEU3H4BYKFrsHde3MrWWDApUa0xa VKtReVeKQoiOi6tDbQtQyi2bTpGOBzw/qs1QzlRImLxkYJGSJrf7Oe8yqRaiHWfwaVnV TQ5Eh7BoxQQ9yoQo5eI0klBh2eeyyoU/YEpDuqleF6NEiRRGRPgKn/T0YHhsTVOqf6WT SqCQ== X-Gm-Message-State: ABuFfoj27VNAlPdz7OrG3H8XZRbKjRCULEMqqRfWGo9Mi3TMIfiZ9vGy jtBTegIeYdKbt/g1St7Dw0YoilA= X-Received: by 2002:a24:8085:: with SMTP id g127-v6mr2747190itd.120.1537650351639; Sat, 22 Sep 2018 14:05:51 -0700 (PDT) Received: from localhost.localdomain (CPE1cabc0918a93-CM1cabc0918a90.cpe.net.cable.rogers.com. [99.229.26.117]) by smtp.gmail.com with ESMTPSA id t24-v6sm4206532ite.12.2018.09.22.14.05.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 14:05:50 -0700 (PDT) From: ryang To: Jonathan Cameron Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ryang Subject: [PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation Date: Sat, 22 Sep 2018 17:05:38 -0400 Message-Id: <20180922210539.6670-1-decatf@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git a/Documentation/devicetree/bindings/iio/light/bh1750.txt b/Documentation/devicetree/bindings/iio/light/bh1750.txt new file mode 100644 index 000000000000..468350cc7af6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/bh1750.txt @@ -0,0 +1,18 @@ +ROHM BH1750 - ALS, Ambient light sensor + +Required properties: + +- compatible: Must be one of: + "rohm,bh1710" + "rohm,bh1715" + "rohm,bh1721" + "rohm,bh1750" + "rohm,bh1751" +- reg: the I2C address of the sensor + +Example: + +bh1750@23 { + compatible = "rohm,bh1750"; + reg = <0x23>; +}; -- 2.17.1