Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp828327ybt; Tue, 7 Jul 2020 01:01:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxUvEY80cVWXuQdRgT4YN7sbcVfZ/Vz6Pt1/ElO3zIf3I6xwRzlW27opCP8x9ZAqv19LDS X-Received: by 2002:a17:906:b0d:: with SMTP id u13mr44182909ejg.342.1594108897208; Tue, 07 Jul 2020 01:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594108897; cv=none; d=google.com; s=arc-20160816; b=dG37R1RZcHIpqoH0VkkcHYove2B3csz04cH63z/XiTfSX35PEUOO4XG1BDyUJEeoWW 4kmu8VRgMSh7i5fjWMoua7ZypNPOcCcs2Fd7IE09OYS4KExyhVXGUD/eHYl+HVIzFrG0 P2JSNmp0+oTRp6XSjLacaRpWO/oB5eeA2t9mJgpJpKovrIj0/Y379lY0azSSxhM1TEXd 8777dJjtmy6KsHqIbCBfcgiRfq9uQvZpq3vfL9z5RIdyOG4vz/vwH8iQ04zE9t6xhl8f n++QzyehuAoWVObN+upH83/56C9tgdV9QUwVjKiBPf+WWOf4wi/lx0Cf6n15IBTDWL88 xb8w== 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=NAIdv36JK0IXi3tqmmjYYQ+BiUVqUDhDf34f3f3mnEw=; b=hlgkNSarFilWJMdUEecENpIGviJCILqQ8sWUg+yv24nCthBOXolUeqOqRQJpjuuOZI kXdT19xA2FHMPTWUE8gGexOD/UkQvVuCHM3zydnPZuURIiC61IPs560aDceOSgpIyd6l J78izgXzrFjwYHgYcmlTnKR/oGj73UwY7RBbHbfAo0Cq472GElYN8lr8c30ydgAukdUE zbWFMb6+9MPGLbqSgMO+8Ue+NwY8uTVijUUf1rb4qQsqTUIft5tuuwdFznyTPWbA97AD cA07qtZBMbFi96H2YOmVUjEtzASAxvHRyzhP6JGao6EGVHkMBYaW6rHk/uA1Tw4pY+Yt f1dg== 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 k20si13786967ejq.621.2020.07.07.01.01.12; Tue, 07 Jul 2020 01:01:37 -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 S1728169AbgGGIBI (ORCPT + 99 others); Tue, 7 Jul 2020 04:01:08 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:50168 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1725941AbgGGIBI (ORCPT ); Tue, 7 Jul 2020 04:01:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id 5CBB92016B13; Tue, 7 Jul 2020 16:01:06 +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 YGDWKV1IyNuL; Tue, 7 Jul 2020 16:01:06 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 3B4B220160D4; Tue, 7 Jul 2020 16:01:06 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id 2F307C01F9E; Tue, 7 Jul 2020 16:01:06 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 015CA2002E9; Tue, 7 Jul 2020 16:01:05 +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 v3 0/2] shtc1: add support for device tree bindings Date: Tue, 7 Jul 2020 16:01:01 +0800 Message-Id: <20200707080104.23711-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 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