Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4319410pxa; Mon, 10 Aug 2020 06:29:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/dhJbHZeBHBqVs5OeN6qOgTAqKUEcWQ9G0DUgv6sdzsO8fbDBHAL01rxQTmjNpdoLl6b2 X-Received: by 2002:aa7:c983:: with SMTP id c3mr20720174edt.383.1597066169055; Mon, 10 Aug 2020 06:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597066169; cv=none; d=google.com; s=arc-20160816; b=B8+MbU0nj419MGOE41m/ceE+aKuZ12c8Fn4ipm9ESdW/dy9L3aWNd81WweFqoa9Hgn +LxlapJuXdWhnko/4yzK1+sNADs4iMC+nAESyNFtHjaQz6SysMFB+yirEm5A/UC2rfip rxRz4Rk01+PzSWqQjZoj6fKZq6pV/be0XhuGBeyZ51psf0PCTM317wSnk9xAtb3DF9IV a25++XYyaS40pgMKPCiXi9QxWgLnKBVhtBESOVxtpg2Y7X16yInRVb9Ib4bYkqW3hkyA KG8r5lgFgYWIZ2HbWJ3kGXjJUUE0Qmcy3kgVW8zai5WHYSNTE2q14fKp6JUkiBQdW0KS Yn4A== 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 :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=M7Q1JA92XctdTnmz58o7tG11MzrbfCoNHhQ0f2+8MEw=; b=ffqj13AH0/lhn6FwYHDAZuqmdJb+vXZGMjTRENMy8hmo+thyamXp4kFdbM/eZzoHgx p+49RADQqIMdlM1ZLnw+fEyz2d9a3zA6gaFOh92eXnZ5b+Cxd5nbNxxVA2pWrJjmO8aR knDG3cYfdzrVUXLJiSnYC+pT5bIvCpxl8eGli+PO8fn+gOupQX6cs3pd0J0HhLQF1iA7 dealoFo292yz7U3BcTJaHRDv8oET91RnkOpgrqF99XLM/hRNI7dSC7UrA1SKdVtiFSLr 83xUmuruPIWXeYIWEKM0Ad5FHRFpDvFL4Vy706X6nZME7b4Yh56Bh1F7cN+z6b8jfKtn TMPw== 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 a29si4903249edj.418.2020.08.10.06.29.05; Mon, 10 Aug 2020 06:29:29 -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 S1726831AbgHJN0M (ORCPT + 99 others); Mon, 10 Aug 2020 09:26:12 -0400 Received: from mailout07.rmx.de ([94.199.90.95]:55248 "EHLO mailout07.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgHJN0M (ORCPT ); Mon, 10 Aug 2020 09:26:12 -0400 Received: from kdin01.retarus.com (kdin01.dmz1.retloc [172.19.17.48]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout07.rmx.de (Postfix) with ESMTPS id 4BQGv528ynzBtyq; Mon, 10 Aug 2020 15:26:09 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin01.retarus.com (Postfix) with ESMTPS id 4BQGtr4Wklz2xGF; Mon, 10 Aug 2020 15:25:56 +0200 (CEST) Received: from n95hx1g2.localnet (192.168.54.13) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 10 Aug 2020 15:24:40 +0200 From: Christian Eggers To: Pavel Machek CC: Jonathan Cameron , Jonathan Cameron , Andy Shevchenko , "Hartmut Knaack" , Lars-Peter Clausen , "Peter Meerwald-Stadler" , , Subject: Re: [PATCH] iio: documentation: light: Add as73211 sysfs documentation Date: Mon, 10 Aug 2020 15:24:39 +0200 Message-ID: <2320252.sbR73lAtI7@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20200810123540.sdzbtpgwkyqjg6ag@duo.ucw.cz> References: <20200808171443.114c8e05@archlinux> <4688751.agSyimv0uN@n95hx1g2> <20200810123540.sdzbtpgwkyqjg6ag@duo.ucw.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.13] X-RMX-ID: 20200810-152558-4BQGtr4Wklz2xGF-0@kdin01 X-RMX-SOURCE: 217.111.95.66 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, On Monday, 10 August 2020, 14:35:40 CEST, Pavel Machek wrote: > On Mon 2020-08-10 11:57:46, Christian Eggers wrote: > > On Monday, 10 August 2020, 11:00:54 CEST, Pavel Machek wrote: > > > Hi! > > > > > > > The driver for the as73211 light sensor provides the following not yet > > > > documented sysfs entries: > > > > - in_intensity_(x|y|z)_raw > > > > - in_intensity_(x|y|z)_scale > > > > - in_intensity_sampling_frequency(_available) > > > > - in_intensity_hardwaregain(_available) > > > > > > Should that be hardware_gain ? > > > > drivers/iio/industrialio-core.c: > > [IIO_CHAN_INFO_HARDWAREGAIN] = "hardwaregain", > > Yep. Fix that before people start to really use it. it's too late! IIO_CHAN_INFO_HARDWAREGAIN was introduced back in 2012. My patch only adds "hardwaregain" in a new context (of "intensity"). > Pavel regards Christian