Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1313751pxa; Sat, 15 Aug 2020 15:34:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz36fGPOTKt96JROyBSKkfnqpJ8Wq4HkKglX65Wm0S3J6QJ4hoLeTywqix41/9MiLWD9VSR X-Received: by 2002:a05:6402:1d8f:: with SMTP id dk15mr6344837edb.90.1597530860034; Sat, 15 Aug 2020 15:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597530860; cv=none; d=google.com; s=arc-20160816; b=rdq5SHx8cMRzERu+np0e3VAcpjitc+rjvxYHR03YxBUY8+Rl6omEPoQKuMDBKphQ8x vxoFESxgN8BpsNQO7S8WjzJT4Kyyu/3+onQypDxX9lhTumuUch0lyOaIopSy3oOkS5wf 9KMuOMecuXyp/VZg7Aa3ui+ZmIUfQLwzXNTkBY2vlZkqNLqZKZ6hyv50RATw0lYNjTLZ 6plOXOKqoeuTXZsMTb/9q5dDH5sJeSTNNmcTz41SPjxalxHkwmbJK5ClZ4P5hMUBEmqZ cL0WvflcKeOSil3Oj90cOf9EfDELqdAEYdBxMjb95kEOMbufvvUIXkkm9SjGiAQzTsX7 GnVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DGyKAdZQ1uI8M2ScBGpbTI+a5fzIoi+icoGE5ngS//I=; b=P6GqGFEc8U16omcJl2IHSSGYCMjDXT0hZu3GyJ8jbBvfPsNYZo/c8i+c26nm8Rji2Y GxhAa2I9S5rPhSsjKVikfnU3tx4s0jxllw+EUHRfHz6xZLP1Ic/QypH1SxoZPG1ew7kE IcwoOyhZ65H1d5qnN+AqfuKe9GgpWFvpF2DfiEmi+IyVZZNtuOqcMDM67VNuUoKdG6mP E2TWMlgZyRqfrV7fQhjNsaOIv7NDotl4HYRB96lja4VB7+fMwR5ZY03ncAgHznKmyE5M qyztvYI6xRDrBf5UB4TjigDZYLpsB1btfRzA6ccmLGMk0TsuuvRFBQxwGlTvFva/v0Zw ItKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr23si7453070ejb.572.2020.08.15.15.33.57; Sat, 15 Aug 2020 15:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729232AbgHOWce (ORCPT + 99 others); Sat, 15 Aug 2020 18:32:34 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:34692 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1728678AbgHOWcM (ORCPT ); Sat, 15 Aug 2020 18:32:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 2C36E20160C8; Sat, 15 Aug 2020 09:22:35 +0800 (HKT) X-Virus-Scanned: Debian amavisd-new at gtsys.com.hk Received: from mail.gtsys.com.hk ([127.0.0.1]) by localhost (mail.gtsys.com.hk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YW0sX-jF3NJj; Sat, 15 Aug 2020 09:22:35 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 0C8F220160B5; Sat, 15 Aug 2020 09:22:35 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id F2AA9C019F4; Sat, 15 Aug 2020 09:22:34 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id B813A20046C; Sat, 15 Aug 2020 09:22:34 +0800 (HKT) From: Chris Ruehl To: Chris Ruehl Cc: Jack Lo , devicetree@vger.kernel.org, Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 0/2] shtc1: add support for device tree bindings Date: Sat, 15 Aug 2020 09:22:25 +0800 Message-Id: <20200815012227.32538-1-chris.ruehl@gtsys.com.hk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 8 sensirion,shtc1.yaml: Correction in commit text s/_/-/ (sensirion,low-precision) Maintainer my full name Add additionalProperties: false Simplify example i2c1 { -> i2c { Version 7 make dt_binding_check warnings, missing #address-cells, #size-cells in example dtschema-2020.7.dev3+g8fd8ce7 Version 6 fix dt_binding_check: missing ';' in examples Version 5 devicetree/driver-source: name conversion sensirion,low-precision sensirion,blocking-io use const: 0x70 with the reg: Version 4 Fix errors report by make dt_binding_check (devicetree) Set maintainers for the yaml document to my own. Version 3 Fix errors report with checkpatch.pl Correct logic, add (!) when check for sensirion,low_precision Version 2 remove the #ifdef CONFIG_OF ignore platform data if dev->of_node is valid use boolean only therefor use sensirion,low_precise to fit the logic add missing driver.of_match_table entry Version 1 initial version