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: 13402273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 912F1CE7B0C for ; Thu, 28 Sep 2023 08:45:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbjI1Ipb (ORCPT ); Thu, 28 Sep 2023 04:45:31 -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-Google-Smtp-Source: AGHT+IEQ6aucz+Pp4uVA7/2h11qZdPerexXAaQZmdT907P6jFByyuFP3NQN5XwQCNeIaixTJ/4gn8A== 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: Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org 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