Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp182801ybt; Thu, 9 Jul 2020 19:16:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiSDfkqMgDUxbET4dwAFIU12uJjnwH9ei40yYTdvPTZHjmRlqNwKpuJukTEpOZteG/fvSl X-Received: by 2002:a17:906:4086:: with SMTP id u6mr63141713ejj.9.1594347418891; Thu, 09 Jul 2020 19:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594347418; cv=none; d=google.com; s=arc-20160816; b=IX6wLVZFLbTqvoRnV3LvReElrk+ny6j8GOUFPok3T525p9gWZg3J/13O5mzEGBjYs0 03x75dqMQMDhHuN1w6qEg2MTBJQgTUBzgMjLVpS/M7sEwcGI172iMwug0Zz+V/pL3Yy3 JeyBHz1hBf+6GX3sLxyx3kdO6r++PeffYG2YulNHJOWn60zH4Uuf+WCPmIzbpwOC/uS/ BV4+tCHLq+gbiAGExC4EzaRSvia+vWrKKNh2tsdlDwzhTDbL01kdyrHsGWaklDyoYMSM YhigG8bA45HE9mujvhIg1ZicnN/HyIw6G1vRLuj371EXta5DdSpA5OheyZbR8l9C6SMo u7kg== 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=F48RMA+ld1TneIxzlaVf6lmYs0SNiNyC67oZzYD0loM=; b=NuoUC0BAfvAjrwSy8WP2rhP9c0t+wiQWJYOSKnNtg9OXJS18QeV7goDUfhIYLsEC8x HcmQMb+MSEGN/jKP2PLfjf1BuyuOKXUbDiQm3oE/QCiLaxH7hHWjLoPnqmUjWdpjIz7e RoFis7hLAEUVF382pEEKie5B6O6rP5JKSAC4mHI93WIKHuBaZWc+BZocq7muNKmpqMix F4c41Hmw6VPOlhGzVNod+MzbtbJvHRYUwEYnxOWU0pjx59lM6qJQtD23L05T+UVWpUo2 m5/SMvXdfwONjKBtvpoiYlcuCXG6+8VXv2H2q9mpQ6xgpjdpTeBkZiaDOvSNDl/9akuj wSQw== 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 dc26si2924157edb.329.2020.07.09.19.16.36; Thu, 09 Jul 2020 19:16:58 -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 S1727007AbgGJCPk (ORCPT + 99 others); Thu, 9 Jul 2020 22:15:40 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:50802 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1726796AbgGJCPk (ORCPT ); Thu, 9 Jul 2020 22:15:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id CFFD020160C8; Fri, 10 Jul 2020 10:15:37 +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 j_CSdWE8rvp2; Fri, 10 Jul 2020 10:15:37 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id ADCC020160B5; Fri, 10 Jul 2020 10:15:37 +0800 (HKT) Received: from armhf2.gtsys.com.hk (unknown [10.128.4.15]) by s01.gtsys.com.hk (Postfix) with ESMTP id A0373C01FBA; Fri, 10 Jul 2020 10:15:37 +0800 (HKT) Received: by armhf2.gtsys.com.hk (Postfix, from userid 1000) id 6A1C8202299; Fri, 10 Jul 2020 10:15:37 +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 v5 0/2] shtc1: add support for device tree bindings Date: Fri, 10 Jul 2020 10:15:33 +0800 Message-Id: <20200710021536.27544-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 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