Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2019781pxa; Fri, 7 Aug 2020 00:33:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvH0Wjnrr09MnNu/3j5dVhOiVOs7hmn/7f6ZJ1m+GIvuol9VjOOiASWlBzxgqeTl3nwDtP X-Received: by 2002:a17:906:c34e:: with SMTP id ci14mr8501198ejb.335.1596785608154; Fri, 07 Aug 2020 00:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596785608; cv=none; d=google.com; s=arc-20160816; b=I/66teQ+MwV5UXFrNJgwaxjZoR/SA5FP2wrHeyy+a6Ggqx70cumpsMbTfNlhGsJsYf hvYXyi3XsqwP+ApkgB628/mUVRpbuG7E/Bg/357N25g0VPntSpMXxBytwth9TddPx/Ey i4BbNFn86CzyQ+LAabXeALANA3drApc2kOZdSvqsIMg5S5h42onAZ1dVeGpErnf8CrRq nnKOjnfMQwMUX8q9R9RAlnAWFj9eAbbZKh0tkCDO4eB5PzmdF+TMhPYKVYi9//ZcG9p7 51neQbD8gDYivPL74Qp4zmmltKVJ++gnn8Hao3gHdpTeNHaBoww9vF2Z0KRBv/5grtdE BUuw== 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=+6hTW4kMQVjldPArWGjc4/afzDexGsseWqoZn67mizI=; b=Af/lxhpuAazVgg3BX0EgNTSO6ZhmVYxd/VkQSIEgweLDRMUB9sVljk8Xv65NKRY8dV Tz9CZOcBsNLt4Q80enxmoHWSyvlJ0J0qowG2be6c2ovi9kKwY9QckmcBoRRTgA6znDFY N2HPZ7r+WyDFB+zkFBDGQI509Xayf+e6Ys3BMYST10VKXB19seP2VbrZ7TDfbZttLz01 RMX2BfuTTDhBotJz7Xsdr0hklXZuvYKoGu7Eg5hZe5gox2Yr9Brlo8owwASFWhqEbL+9 bH0VcFFf873so7XhxFUzvemipZaMwtjHuPO4iTHo7NL27dXVlmR6X8d/HsKxduDzVKwo IgRQ== 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 v21si680872ejg.482.2020.08.07.00.33.05; Fri, 07 Aug 2020 00:33:28 -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 S1726851AbgHGHbs (ORCPT + 99 others); Fri, 7 Aug 2020 03:31:48 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:59648 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1726038AbgHGHbs (ORCPT ); Fri, 7 Aug 2020 03:31:48 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id A611A20139AA; Fri, 7 Aug 2020 15:31:46 +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 qDsY0KbCe6e8; Fri, 7 Aug 2020 15:31:46 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 8493D20139A7; Fri, 7 Aug 2020 15:31:46 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id 75A81C019FB; Fri, 7 Aug 2020 15:31:46 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 3A6DA20014E; Fri, 7 Aug 2020 15:31:46 +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 v7 0/2] shtc1: add support for device tree bindings Date: Fri, 7 Aug 2020 15:31:41 +0800 Message-Id: <20200807073143.30462-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 7 make dt_binding_check warings, 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