Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp884059imm; Sat, 22 Sep 2018 12:59:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Lo3haJNeNp4m4rPTw+VzHItZ5S2F/AQBbpMQoxw3d09GiqWuQrWWhtKwG7Ims6+l1QDwn X-Received: by 2002:a17:902:ac86:: with SMTP id h6-v6mr3830847plr.103.1537646398300; Sat, 22 Sep 2018 12:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537646398; cv=none; d=google.com; s=arc-20160816; b=ld50LhdfqGc1EyzEXp4nfm6VxgZFHgGE071Ew4H7v6GyMKBhQXRgHsR9yDqTAHEKOU GsThHU4MzUrNINB3UqQJ9JMyu4rKoVO5Ll0ECb45Nw8GvtQFVMYbtaTkxcH0bkq0YUsq Q6mC2qLf707sICe5U5z9z6Bpg5YY1iltWt1EAcEaLjN/hG4NR+eVfNH93yaTMB0MHUNO iK4zqIOEwJgTU1F6aciFQPax75/W8pnRtCgVhIPRfiQetZzb56x7LKls3NinmRMvAX8v ohu61xV3v8ZCYEfjf06p6CRO9fBv/vQsXtx3AayDvxn8X7BFEYlv4GuR2AbNEYpFHds3 xlfg== 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=r2XfqV8sexG3lkS5LomJDKinU101tJhw/VuOR17vceREatljLnGhU0FrIH4LgaEERW wOToFoAzDi3RAA16xrYKHyGAG6E+q1Jlisb7C71XFpeWOjrLXUzT1Ik8fLENFNMWge6x amtECid3iocgTDE5AO/sPjuYMyByZKHem8G5fYHkicpSHUH2t1rrGekgFphytP93QDHa fHNqHN9kO6uCNFXdP59Nwod7hZ1vIKsqnP0g0NX/v0TGI07mJ6Rtg1OCnf0CKmFBQ77l ijdPkfG4u6u3VcOELSoejz2yuzxtIQulBaSO0MHvHxlbxvuhGUFJZYoNHANmVOL5Wtkd 3gow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mooHwLB8; 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 o33-v6si29544348plb.489.2018.09.22.12.59.42; Sat, 22 Sep 2018 12:59:58 -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=mooHwLB8; 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 S1728080AbeIWByT (ORCPT + 99 others); Sat, 22 Sep 2018 21:54:19 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:35998 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbeIWByT (ORCPT ); Sat, 22 Sep 2018 21:54:19 -0400 Received: by mail-it1-f196.google.com with SMTP id u13-v6so6033834iti.1; Sat, 22 Sep 2018 12:59:33 -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=mooHwLB8DO2SZF1VOksxSqUyr3DfRTUG8Dq5UN3PVaQVIRawlYV0XVTw4FTIsizMin aWMImts1bGMuxzvfSppNwoAp4sFfdKGzgoux4CBom8mCla9CZ/JBQXHXOYF7OktKYP5p gmj5Po/4Zi7P3LY1ziwY850QkIHlrSCT1DgwHNqCFYu1hwcMZsRB3iMAojAGujqw3uFd 4nnY3Lkd5eKiTSh088aibWu0dsbLa5E8w7drd5qK5geuy0f3Vq5sgGFSxX5PrA/YsSpM LI1fTNrWxkG1iUareblAWAtilSk5qlEPdebj9tRsFEFSD7UMVA/EB7pc7Jo8aPzrQv/l dInA== 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=nrvQ/USkBuxj22pUaPfuvlcOa7+hDpDH4tcyv31TGAQgD60iZRaoYmBbMxWC7k9XD0 0A6Ms2t7PzpjFJJRGv4arXgaPm0eCaYvIoOglB+Ppgtmuhjg2dpjvWZDg4hJ4PY5DSGy k8U8tb7y40B8hmEtiJv3cxF33/JQNaUHU1IImICBf1vJEg7C/8HfGArdeyQ7JEPuA/nm F4svA53GxBoP+XkKj4ed7n8AKSUzcZ5G94iFLoE+dHG8ZO0eNGNjGWKossNKaAq7iObr fygt9g49iU3V7cQdOr6IijGqS1c2E2fShzYl0NRntdDs80kRb1sA67r1k8Yv9BycXhyq weOw== X-Gm-Message-State: ABuFfojnwSQ++K2dOWxkIkLN445toJwj/Qg9qz9IpP2HFqjmLxpwJcp+ ypsfJWuDKuedQU8jvcJ1JA== X-Received: by 2002:a24:1d84:: with SMTP id 126-v6mr2649830itj.63.1537646373473; Sat, 22 Sep 2018 12:59:33 -0700 (PDT) Received: from localhost.localdomain (CPE1cabc0918a93-CM1cabc0918a90.cpe.net.cable.rogers.com. [99.229.26.117]) by smtp.gmail.com with ESMTPSA id h66-v6sm1095021ita.22.2018.09.22.12.59.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 12:59:32 -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 v2 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation Date: Sat, 22 Sep 2018 15:59:21 -0400 Message-Id: <20180922195922.24791-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