Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp236294pxa; Tue, 4 Aug 2020 23:00:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJaVLnjqurMAbjte6LxuDbOmaLWhEc5IRhAEQuSlXnWhpYIMr1txB56kbUfqmVb3MzOviT X-Received: by 2002:aa7:c606:: with SMTP id h6mr1338258edq.288.1596607219739; Tue, 04 Aug 2020 23:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596607219; cv=none; d=google.com; s=arc-20160816; b=HHRdwswPuzbSnuDGHySxHazOGmctVR8tgHa53e9+gtWOY8DvyYJ5MEj0ze6JYZOh6x KrkYR84JOEvjyl39Yp54cp+g9GVY+kSdkpL3wBVpzPrKHjXWfs7DXsDKoUUsllT8GIK3 HG4awZAuvp6llcFenzOvNdTZaoumqmoxJRxfqXBqJ83KhbwEdnUPkOGLovTLxjDeXYdw A4lCikEG8I7weXvLRKgF9y05Ulr9eYypioBE0h60FLI31WDJg/CUkUlRgD4fDz78J2/n EPc+wDDb8PiHENUSW+uuzDAa7028s1Cf4OmarGywzJVyPuiiTjP6NO8DYV/ovjrVUOMa Rmfg== 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=4QYShLg1aQRe9tiA7e4ky0i7uzLVb4hlOj6t0cKU7RI=; b=SpYsZkoJ0mU3AWRsUqDjnutCWQv375RD2l3/ZU6Q52ym7jh5BkKrL3UVgHyCqE58qv N5vXjkjRGmUEbQBDl+r9tSq8Y2T82KwH+ARVaOUJ+6+U4qvX40D5I6Z1EkVpI5JxyXNk 1U+66P2yE+wIK9+nMU0TFZteFpr06LJsnlDLtwozBpV8lR7lscInMKBym/wIZDYD+yF2 DDAg0FzaQO6ESjvNb0cQNSFEvtAf5dScRR+SoiD/F4i0gbGFlBjlMEVOMtKFexDQ9mPE fmFbJFWXQScPPuNcfXjaocYCLxZnwiEmGlqnyRJ2Ze55nrcyMroImjnrSs6B5Hb4w7F/ t4BA== 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 y8si751004edw.325.2020.08.04.22.59.57; Tue, 04 Aug 2020 23:00:19 -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 S1726804AbgHEF6t (ORCPT + 99 others); Wed, 5 Aug 2020 01:58:49 -0400 Received: from mailout09.rmx.de ([94.199.88.74]:48953 "EHLO mailout09.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbgHEF6s (ORCPT ); Wed, 5 Aug 2020 01:58:48 -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 mailout09.rmx.de (Postfix) with ESMTPS id 4BM1C83SCQzbjF4; Wed, 5 Aug 2020 07:58:44 +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 4BM1Bl5x6sz2xFM; Wed, 5 Aug 2020 07:58:23 +0200 (CEST) Received: from N95HX1G2.wgnetz.xx (192.168.54.60) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Aug 2020 07:58:00 +0200 From: Christian Eggers To: Rob Herring , Andy Shevchenko , Jonathan Cameron , Jonathan Cameron CC: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , , , , "Christian Eggers" Subject: [PATCH v6 0/2] iio: light: Support AMS AS73211 digital XYZ sensor Date: Wed, 5 Aug 2020 07:57:42 +0200 Message-ID: <20200805055744.31909-1-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.54.60] X-RMX-ID: 20200805-075825-4BM1Bl5x6sz2xFM-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 This series adds support for the AMS AS73211 digital XYZ sensor. Probably everything is fine now... Changes in v6: --------------- - [2/2] Fixed remaining open points reported by Andy Shevchenko. Changes in v5: --------------- - [1/2] Reviewed by Rob Herring - [2/2] Added KHZ_PER_HR define - [2/2] Added AS73211_SAMPLE_FREQ_BASE define - [2/2] Slight changes in comments - [2/2] Claim direct mode in write_raw() - [2/2] Saturate only in case of overflow - [2/2] Don't set indio_dev->dev.parent - [2/2] Fix error path (order) in probe() Changes in v4: --------------- - Integrated 2nd review from Andy Shevchenko - Use more devm_ functions in as73211_probe() Changes in v3: --------------- - Integrated comments from Andy Shevchenko - Integrated comments from Jonathan Cameron Changes in v2: --------------- - Fix $id in dt binding - Document full I2C address range in "reg" property - Move "buffer" member out of "struct as73211_data" - Fix sparse warnings by using correct data types