Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp51337ybh; Sat, 11 Jul 2020 21:45:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwSjOGxZNEwRVdpfME8z1D3acVUtO/44In1PZAoOK5ArlxakhzmCA9ktOlPTt/hnUWeiYQ X-Received: by 2002:a17:906:b143:: with SMTP id bt3mr68703563ejb.134.1594529121101; Sat, 11 Jul 2020 21:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594529121; cv=none; d=google.com; s=arc-20160816; b=dTH2TcN6iUbKde4Yr2VC3KY6X+XyMw4Ot+D80UsXli7SoZfWPzB4vCC0pEBFBn4Rkn aT9Iq4JDyzHYxuol9ka9wmOPAC2JJJAPNARZ2nmFWNWJ/3ALwmraCexAdJDRHtCxc9Gf E7Tm3hU7uwFlYC8oIhHKuCcp6cIVc/9Z4fgfw8EFbGiB33PAC2nm7GZMMv/eauJCrMS3 Mf/NzHMBiyseQs8D5Hd+5UubGunUWjEYCAJ/RK8WeDYwlWJnCPJTm90ywp1MdV1gk5m+ rjc0t0gCPxivv9zkCUaFzlq3XmcXKROkNbGS9Av574UIbFbK0ezfsIWhypyYtxUqF6Pu jC/Q== 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=fYRmJoCb5tda2Z/P1RT63KAB8sBnp2kIkY0NXOV/akc=; b=CCUHHQpIStHsvM+C9hTtTCZsFHrIPjDufAI2XR5Z9XAcu7fnsGroBifl24SWFgBGlI 9cv3n6OHld5e19Yh7eYjUOT2vvHHK78rJVC3Gr+lr2eyJNDE16xyRX9aBgupNZAAtEmX dY2YMZJtlRALDhhYE6NrjiqirT7eMR2KCE4LhB4A4AdwtiOPijs10hvtS1aGvfQZY201 hZn4mpWXrj46fMFg+HLfrC7dlDRQ243gC5DS3tgb9rh2+gS4sn8MDVBRVXj7ryHDYcqQ 72t+nj1SeKXw4mrWQyArD1LHn5aFfWRYv5BwaQgj9IQL6HsvSbDbqgS61H40xvzQNM+6 3PoA== 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 h25si7815730edv.231.2020.07.11.21.44.25; Sat, 11 Jul 2020 21:45:21 -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 S1728186AbgGLEoU (ORCPT + 99 others); Sun, 12 Jul 2020 00:44:20 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:37130 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1728010AbgGLEoT (ORCPT ); Sun, 12 Jul 2020 00:44:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id E985C201411B; Sun, 12 Jul 2020 12:44:16 +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 c7g4X1_s4bSX; Sun, 12 Jul 2020 12:44:16 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id C447C2014570; Sun, 12 Jul 2020 12:44:16 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id B41AEC019F4; Sun, 12 Jul 2020 12:44:16 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 7C210202299; Sun, 12 Jul 2020 12:44:16 +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 v6 0/2] shtc1: add support for device tree bindings Date: Sun, 12 Jul 2020 12:44:08 +0800 Message-Id: <20200712044411.23323-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 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