From patchwork Thu Sep 28 08:45:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Vaittinen X-Patchwork-Id: 146048 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3247413vqu; Thu, 28 Sep 2023 04:46:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNBAq9mi4PHFvVlOtzTb1qxJkZoNGw/+vdBjlB3YDJgrP9QTfdZIeC00qhZpYuM65V24FR X-Received: by 2002:a17:902:dacc:b0:1c3:6d97:e89e with SMTP id q12-20020a170902dacc00b001c36d97e89emr1085324plx.58.1695901590758; Thu, 28 Sep 2023 04:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695901590; cv=none; d=google.com; s=arc-20160816; b=eV5KWgODhzLXR7V3yJlFcaqdwDzxK67Dcfmmlo2alQIuISIMSt6Cd/3FFNmJ09yAyV yjw5gTPvuiVh87FeNkDKqRRRT7qIfRmbpdPYPe0cudmAFdA39WxaUOhLGTLYw2VuTXOj yNw3HzO4PQ+h7M/CHSYZ/dOByEo20kcf9aC/wVXl5dwSvDQUFod+SSOxz4n9IoCF2yQC 7NJwvZGymfCzFijLiRwxP4nbhW4uUKLbSWs4eHbmfkVcHtKsnlZj7Hi2X1dAgjNYseqv A9SVcHXixHZ4vm1KBLXTBp1NCch+cLH1pKFLAZcNikhLEEp41oZmPxNjjg+mKr+lVO4X nwQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=77zKk93STlk81KHrQIoBDbggD4+VRxetUhh7PgY+BS0=; fh=l0ICheQKZyj0haPn4HIF9a6LCrAMbqiYUG0WjM8XR4Y=; b=0uLnzaEOwJq0saoi3tpyyvVWXhwqTmGeikZoibJpHHvhPLR1pXae+4LXdkX+BvUeP+ bKkUQO8lEvv4nCR3yUsSXaD+uEtZRIU2PCtvrB+5o+0eeUw2HvTmrs5CbJr/J3o6JEd4 tGmThDTR1Bi6BU8AbHrKBQZTUuzjQbZS0/IR3vZxbTHjgatXaRk6PB0lLdAlARZmeoKX hfEp/DWesL4iimS2ZOcIcPpBIglONZ9eXZ/xjifuP3hcVvJvPMVfSnR3z/AE6j+YQTlk UghbgyCvI4dOIyK6e8yxsEkXMVGvNxJ8gEhaU4goOrA0v8UVO8+626MtK7ow/PwUlhNn OWbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y+QWWJis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id m4-20020a170902db0400b001c7358e8cf3si1943116plx.542.2023.09.28.04.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:46:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y+QWWJis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7C89E807EB95; Thu, 28 Sep 2023 01:46:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbjI1Ipd (ORCPT + 21 others); Thu, 28 Sep 2023 04:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbjI1Ipa (ORCPT ); Thu, 28 Sep 2023 04:45:30 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECDD9B7; Thu, 28 Sep 2023 01:45:28 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b9338e4695so210044391fa.2; Thu, 28 Sep 2023 01:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695890727; x=1696495527; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=77zKk93STlk81KHrQIoBDbggD4+VRxetUhh7PgY+BS0=; b=Y+QWWJis7D3ruryAmjCUv5HT8gueIO+MjpPhYZmjNadIrITDLMyB4HuhzxDuQc1ils yGjlcR+wQAYToLAVcn14hlwawhFlP5br03JGWrAjZ3uV/J1tXq5Mj0kjwxNCrSnBHHGR pKfWl+ThGUHKvoy9R0oeHxEYEeREv96khzvYeEeMsvToO4U7gI8DfT1SuB6KIY/AqnzJ d5SWQ6N5JqFOjh7AIwCKDRFdTlcxKpyakeo4oq3s7KuImNR5cr7l/z9GKbIk0Zf22VqW c3mtPoDuyK8waqL9yXlnXUxHlrMdYYgUGo+mkzTVd5iukXhrDY8jEcoxqU03Nzkhz2FU Z9YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695890727; x=1696495527; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=77zKk93STlk81KHrQIoBDbggD4+VRxetUhh7PgY+BS0=; b=Zv1va+Jj4CqOSSQ+wR+u7O5LObC5qD+5Hoc4RCTMRxnqNcAsyAAojK+3foJEF6o0/V G8frFzq0v5hXFhT4QfVIHDKaffaZ4nuV4M8IepzhNI+0XTwXCRpuPqPAibSseH1pwEdq 31KNJqFT3MwTYAMcaFZLXHnjXJVB58Sl2erFC2R+peFHojCAfWafL5IpAdaEQrKlfpUM IZ07383BoGWjwPXsVjWmlD6U67RMTYEy9/gg/kH1wpqWW5V3JvzLxuwQbyKbWpun1MQr XdscbfKjv+Mh2OZTINATRaCTKk+2hHv63S+K+CAl1Et77ju/VOz8Dyh04N6a34AG5vZ/ 4lKg== X-Gm-Message-State: AOJu0Yw6oDUpOCXlrpeRXGwPMaO5M4mh3oEnbuqjWE4bIP2Jt3eJ2K4r rKiATdkg3eqd/mdnUGE1kTw= X-Received: by 2002:a2e:88c8:0:b0:2bc:feb6:6da4 with SMTP id a8-20020a2e88c8000000b002bcfeb66da4mr558168ljk.33.1695890726676; Thu, 28 Sep 2023 01:45:26 -0700 (PDT) Received: from dc78bmyyyyyyyyyyyyydt-3.rev.dnainternet.fi (dc78bmyyyyyyyyyyyyydt-3.rev.dnainternet.fi. [2001:14ba:16f8:1500::7]) by smtp.gmail.com with ESMTPSA id j8-20020a2e8008000000b002bcb89e92dcsm3517445ljg.6.2023.09.28.01.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 01:45:25 -0700 (PDT) Date: Thu, 28 Sep 2023 11:45:21 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matti Vaittinen , Mehdi Djait , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: iio: Add KX132ACR-LBZ accelerometer Message-ID: <5c9e03ffad5e6e5970d6e71fb02eab4b652e109f.1695879676.git.mazziesaccount@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 01:46:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778281706602222883 X-GMAIL-MSGID: 1778281706602222883 ROHM KX132ACR-LBZ is an accelerometer for industrial applications. It has a subset of KX022A functionalities, dropping support for tap, free fall and tilt detection engines. Also, the register interface is an exact subset of what is found on KX022A. Extend the kionix,kx022a.yaml file to support the KX132ACR-LBZ device Signed-off-by: Matti Vaittinen Acked-by: Conor Dooley --- .../devicetree/bindings/iio/accel/kionix,kx022a.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml index 034b69614416..66ea894dbe55 100644 --- a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml +++ b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml @@ -4,21 +4,23 @@ $id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: ROHM/Kionix KX022A and KX132-1211 Accelerometers +title: ROHM/Kionix KX022A, KX132-1211 and KX132ACR-LBZ Accelerometers maintainers: - Matti Vaittinen description: | - KX022A and KX132-1211 are 3-axis accelerometers supporting +/- 2G, 4G, 8G and - 16G ranges, variable output data-rates and a hardware-fifo buffering. - KX022A and KX132-1211 can be accessed either via I2C or SPI. + KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting + +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a + hardware-fifo buffering. These accelerometers can be accessed either + via I2C or SPI. properties: compatible: enum: - kionix,kx022a - kionix,kx132-1211 + - rohm,kx132acr-lbz reg: maxItems: 1