Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp225253ybt; Tue, 7 Jul 2020 21:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysuwTuyezQFz9/ptOOBTOTb1Q7YVevsPeLROVRz+n+3eg5jYBB/I20JfnF+aaA0nAWwkTA X-Received: by 2002:a50:f385:: with SMTP id g5mr62378192edm.347.1594181884037; Tue, 07 Jul 2020 21:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594181884; cv=none; d=google.com; s=arc-20160816; b=0EFGWAx2Hhhi3mh59RGoXhsuznNwEWCmM6YN/0xT6OHt0dYee/IKtReSEE84sfhbU9 QlJS0BBeDeDBqy4Q5M5OlcLHdCKQ16TKoWOFG6iH/hXFSAs/KcQ4f+xjQOLSHlZFZdh8 8tdzVdjscb/L+OyAQslUmcI2WFBUoxzVO1GxfTuz+OzcgZ83Cd3M/pxDlkR/NPF68kWM YXkAzLXd+i+7y1rn8x+4xqf62sWdlxU04qEMDu4rYEofiEbAiImPpvs6pL5ZclVAX1ib 5D47sHPt4ups66CcxoK/JNu1fUpZlZLR5t4o5hXaaAvGz7ORypxE/kgEqKl6WEKgKnXw 4TyQ== 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=epR+WRqx5qLiJz5MA9tR2joV+JACeLI1++ngmiIH/Tg=; b=0+NeJUVtDqLnbpm6/Ef6Q28Xk98M4iLpwUwzMNvNDEt9yv8iF46vLbfd/QjDW69Z2j s57/nUU0CwcEgpTUXmnX9xBhgSImH2YgyVomznQniNIPCaq+BKAeAeACdg6NGLEq0fZ6 6E8T6kwNRScRIHL5Eq26hqlIpAP5S6rTAOBP+A2WgjoA8PH1jiczM4MGXLoCo078TT3t IVinhhSU59FMOzCeC96nN9pt1HYuXiF93dC3z2LtcwKyfzg221dfAtK1bYA+i8ejjlOF q60fRcfxZL4XII5nR5RpFEOLLAZSxV/5SUcnDavoUqG4ebgEosvl1U96Mu414o6fH7fQ qq5w== 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 z4si15507304ejw.122.2020.07.07.21.17.40; Tue, 07 Jul 2020 21:18:04 -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 S1728927AbgGHEHx (ORCPT + 99 others); Wed, 8 Jul 2020 00:07:53 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:45384 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1728401AbgGHEHw (ORCPT ); Wed, 8 Jul 2020 00:07:52 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 1E8242000305; Wed, 8 Jul 2020 12:07:50 +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 Kr9PBFrsGXLm; Wed, 8 Jul 2020 12:07:50 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id F1C6D20001F5; Wed, 8 Jul 2020 12:07:49 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id DA0EBC01B68; Wed, 8 Jul 2020 12:07:49 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id B2D3720031F; Wed, 8 Jul 2020 12:07:49 +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 v4 0/2] shtc1: add support for device tree bindings Date: Wed, 8 Jul 2020 12:07:45 +0800 Message-Id: <20200708040748.9014-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 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