Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp830615ybt; Tue, 7 Jul 2020 01:04:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlutr5m6B0Ldi8yHmb+phKN11xiHB7zQ/VuSuQFgsJjSkRn6ENK27dv9KqQBqJi77KivSD X-Received: by 2002:a17:906:3952:: with SMTP id g18mr49219115eje.68.1594109094514; Tue, 07 Jul 2020 01:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594109094; cv=none; d=google.com; s=arc-20160816; b=0yV8/2qE66m1B1GOgzm4901I6OIOVyqL8z+Ym9GX7ro2flEsJ09Qc/ZIE3toaiquR1 RWbRczk9mh7K6ngk7T+kenmSJljciiEL1Hfzdrdy0NqmSFBXlofhnPO14yhtGVuW1ndf gNQFy/K+PsZi5j4EoG6OVkWltAoflM/P+WBnPBUw2eJbQE0W5KsdC6p4AUvw2yt3FDDq lOZgnkt32Qq01K+tzmzM4zothYGfLinJw7po4S0l99kuH9+F0Jz+dA91RoObI9pvMjeG 8zt7dbOZdRgljk5N7/aoI85c6kISvrtygyb8KLiHk2apqI//veKNkuqRCcGUpOlgZgX5 vG4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:subject; bh=qw0cJ7CdLaMCQn+dHbJXNmKkAFg50zzfDgyJccJiULU=; b=e6Z2LIQAkxdMlVRTsgGRRgTTxzS9whJ6ds49cSlZWpRQwuKov1KEwGG3rZoVfoh+0v eqoUN5tIE7f1+g1h7LuZbd942uEqE/RedXMQ5wIIzmQHc70TZjjCJA7J2yflvN6/jUwk Si2gVmRjcqdcD83duCNJ7diakJjktTpN0gspM7+ARKLhQkoionKE8+QcuTCH79TtrNWU ZwM+qPoGw0kskmo0hJRuBIyaD803c0mxujJsO0LQgnIwqB8E4IjGnHXk/XueJSGd9T8m uNWTFoXVmW3GG+flfEETkDG9BGvyCi4SXc+g1RVXMgrCgj1h/TBUj+IMCUg+DvHkRxKG TnlA== 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 x14si14032375ejb.713.2020.07.07.01.04.30; Tue, 07 Jul 2020 01:04:54 -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 S1728441AbgGGIDw (ORCPT + 99 others); Tue, 7 Jul 2020 04:03:52 -0400 Received: from server-x.ipv4.hkg02.ds.network ([27.111.83.178]:50360 "EHLO mail.gtsys.com.hk" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1728121AbgGGIDu (ORCPT ); Tue, 7 Jul 2020 04:03:50 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gtsys.com.hk (Postfix) with ESMTP id AC3CD2016B15; Tue, 7 Jul 2020 16:03:48 +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 z6WMaQd-Zdfo; Tue, 7 Jul 2020 16:03:48 +0800 (HKT) Received: from s01.gtsys.com.hk (unknown [10.128.4.2]) by mail.gtsys.com.hk (Postfix) with ESMTP id 87C1C20160D4; Tue, 7 Jul 2020 16:03:48 +0800 (HKT) Received: from [10.128.2.32] (unknown [124.217.189.79]) by s01.gtsys.com.hk (Postfix) with ESMTPSA id 0C3ECC01F9E; Tue, 7 Jul 2020 16:03:47 +0800 (HKT) Subject: Re: [PATCH v3 0/2] shtc1: add support for device tree bindings Cc: Jack Lo , devicetree@vger.kernel.org, Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200707080104.23711-1-chris.ruehl@gtsys.com.hk> From: Chris Ruehl Message-ID: Date: Tue, 7 Jul 2020 16:03:47 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200707080104.23711-1-chris.ruehl@gtsys.com.hk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/7/2020 4:01 pm, Chris Ruehl wrote: > 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 > I didn't fix the WARNINGS coming up with checkpatch, they are initial commit errors when added to the kernel. But I have a patch pending to fix the format issue , once this is accepted.