Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp127626imm; Thu, 27 Sep 2018 17:30:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61sK1VEr1+qUQNvyR/ZhEkp1TFIv2wKhl4FBAAm1tICbNlNCeGRpPp2SVPLch/cLJMzTnDd X-Received: by 2002:a17:902:988a:: with SMTP id s10-v6mr13131464plp.200.1538094641644; Thu, 27 Sep 2018 17:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538094641; cv=none; d=google.com; s=arc-20160816; b=uhIG5zajuQIWxHB0qROtB8lO9tcD89QtQKliLGb394l73HpuPe6MlY1KCawKM2C8vX iL14NVgdFgFSOYLdshD6jKUxh37ip0jcHq5KsH3J+VRgTTWWVxWMzVJBIMXo9T/wGIvq mdQfjuS7M9xT55uMqHYffRq54VNFnmDjGmYkhGb4C9q7kfeSG3/+KqXagARAznvp5ICM m96brewNzt4IrRRV7eFccfcVpI0lpez++1ulHENK1eFgKguFXbrTzfES9mzx4ISesfwJ RRSv3wYj3MyguqJJuQqM5zK9tQQhswjlSlY7TmqaCfTTVoeGuHBEaqVlNCDAHp98xQsi mktA== 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=uhdMuGSgilQYdfghsiQsGyl22I3jhLnaWudIsjlWo5k=; b=LTsoiqeysuSgXrZA06PQ9xOYk1AyCVJxKAS1y6o/TqwX03hAISB5/ICGb79fVReALe B+5S8jMPeCqs4SuRAjx3Dvy+TdQ3q5vYOK/Ax5HBwfy9pWNEFa1dtz0L810xdo/fyqvG 55Eki+Ton+UEcoagxArH/k0KNh4jbRcRjlQ424lLiTf1ght/cAPjR1L2J0hdkEIcqX73 /PEAX52/icfbf0EieN0n9h9JnKnsoMh2o0QcBR7mzNOleiR343o8ZwJ7TYiJyjxqubwv MhH/kmxjugLixsZgrmwLhfL4/q30JDbt76Si+IcGt/mIcEGTzYBNYuflUjYsxZ0s8Az3 eGCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nPHOtlCJ; 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 a1-v6si3057508pgq.387.2018.09.27.17.30.25; Thu, 27 Sep 2018 17:30:41 -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=nPHOtlCJ; 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 S1728548AbeI1GvM (ORCPT + 99 others); Fri, 28 Sep 2018 02:51:12 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:44251 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbeI1GvM (ORCPT ); Fri, 28 Sep 2018 02:51:12 -0400 Received: by mail-io1-f67.google.com with SMTP id u12-v6so3140703ioc.11; Thu, 27 Sep 2018 17:30:15 -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=uhdMuGSgilQYdfghsiQsGyl22I3jhLnaWudIsjlWo5k=; b=nPHOtlCJBHHMcYNVoH3gfY4Reo94K+uwfTO7gi+bzOtNR5n3RKWcc10qCNpqqGQD9k O+6Mgcm807Ne5vjIoWPi0jShS7ZnSNrJhDxQsZjJ0T/T5MnuBIHQQ82dgrslsZWntqh/ 91C66TF2kHNcXv1ZhJMakPZnSJsLjiYUaegaRqSR2mYcezTty6pTB504jJmUKhxQYjKP B1inZijmSAk/4+DsDHyWndEHqnomN/kTKb9hYITkru7BR4Zv0lFYyJm5Kcwm8hzO4E2Z enSmuf7gfj4RrV/9kAHIXienCMoTfp751sWltlafyvysQcE3fEQ1ievvnIm3/LdmsG9F W93Q== 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=uhdMuGSgilQYdfghsiQsGyl22I3jhLnaWudIsjlWo5k=; b=TCh+ivtlUOT2hmgpwbIE60jG+RlKRbUrwCozM7voglFhbQui0Y1Eid/a3JjmLvplR3 k6JW1ALjlqGduKty7eWtgxG1o8vPKLM835dRZMBk0uoWcfZpVrzAVdE9innEepjTOiGN TPnV523NEkwgWqqr6iJ/ggifp9/P3lErMLS0O9vQ64eIaXLLa3j1IZ6RlQF4OxxxUZBd C4pg8lkpYSziyxGuhUvXocP6wcjczc9dWtt25QZR2Gb//VzFLVdkALAXvew4U/bs7WG/ kyFwciWf1LOE4dnsRRBZReTVg6BXmqbxJG64OdfT/XXnWqgWOBI93GIOCP9+BCvbZJNC 5LQA== X-Gm-Message-State: ABuFfojPzTUQsrUzG6rOC1w/LOX4ftOKJg6ecHAIUq8Jh70edaKiYL5K hiSeDHohuFfaUK7J9xlrrg== X-Received: by 2002:a6b:8b8b:: with SMTP id n133-v6mr9992702iod.234.1538094614831; Thu, 27 Sep 2018 17:30:14 -0700 (PDT) Received: from localhost.localdomain (CPE1cabc0918a93-CM1cabc0918a90.cpe.net.cable.rogers.com. [99.229.26.117]) by smtp.gmail.com with ESMTPSA id i8-v6sm1355106ioa.6.2018.09.27.17.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 17:30:13 -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 v4 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation Date: Thu, 27 Sep 2018 20:29:57 -0400 Message-Id: <20180928002958.3935-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 --- Changes in v4: - Change example node-name to light-sensor .../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..1e7685797d7a --- /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: + +light-sensor@23 { + compatible = "rohm,bh1750"; + reg = <0x23>; +}; -- 2.17.1