From patchwork Thu Nov 28 09:02:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Vaittinen X-Patchwork-Id: 13887805 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EE2552F88; Thu, 28 Nov 2024 09:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732784561; cv=none; b=pZIuAcrRYbfE6P4ZqtltAMN3uMGcu/jLNbCIEQvR1FoAn22mNcODXxts4TgtqFl2Kw6YqunqszfPew2uGqCGLa7akPqvKn0vFBG4MPS5t2ICYRCzYOZRJItPUi1kaTcPwPS9jJ24EqWkEYT1uIGlrJMULIX1gVeuDoeGgwrWYqQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732784561; c=relaxed/simple; bh=wogo9VGIJAygc2Sr0Tv8SWUOA4RuthVnDtCsa9yr6Kg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CrLjVnU0vyetbM7WUsYd1gGD+s1jMwQVSLIMvinZUf5W5PbvJ9FMOjKzm/4WXPN6VKebVHImsiY6zZe0LTOLDH+QBa2CSpSyKOhCPMBd7BB82JQ/QGTumDC0oiugcAxX65TLKiMiFmCJMI9XpFWOgsxMN/TyEKQtuHHt+HiDsNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NUkk9yYa; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NUkk9yYa" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-53ddb99e9dcso485210e87.3; Thu, 28 Nov 2024 01:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732784558; x=1733389358; 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=pkaT6GSi0h0USs77Nou+cNjAX2d6sAXqEVvVzHMrazM=; b=NUkk9yYaiVK/FQKlG3vvk8skYeyu2mlIDfEUZCaJrYUNgvx1np1fxUCR4kOVPQJJlV OHO2wRvPgKZYYaLC8fKpHYi/uLxvPDTcqP/CdJ5uLk9HQJbpoSeynXpDrLkgHkojmFHm 5fVf1nnv25BS72YW0kbRQN3u2Kzgu3m3LMseoAXOPIdpqKPpVsKhMYL8vJR8L0wxC56Q GR6KQCiWfjNHq8aIoGesPuozaMC72FqufA1VE4Fx3Nvw3ywk4CUZ/Q/wcCXhLCi+uc1D PaIKx7eTOa09rubUisYGKpCuKLqykIkygEZfMt6mKyMtRzwsjiVzM1uJxT8RYuJklcCY 4C1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732784558; x=1733389358; 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=pkaT6GSi0h0USs77Nou+cNjAX2d6sAXqEVvVzHMrazM=; b=lHEEKFTEsg/7D1phS+1u7ilk5vaKKzzny7Pu521K/X8ZoTlREZeCpg+yPrLSqNWBW9 u56Ijf0tpaIZyzKK8g+cZdkPsU74A2AYLuSeeD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:b0:53d:f0ff:d244 with SMTP id 2adb3069b0e04-53df0ffd256mr2534506e87.22.1732784557955; Thu, 28 Nov 2024 01:02:37 -0800 (PST) Received: from mva-rohm ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df6449d7asm116544e87.107.2024.11.28.01.02.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2024 01:02:36 -0800 (PST) Date: Thu, 28 Nov 2024 11:02:29 +0200 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matti Vaittinen , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/7] dt-bindings: ROHM KX134ACR-LBZ Message-ID: <2efe2bf7078704be3f020663960fef563ab21aca.1732783834.git.mazziesaccount@gmail.com> References: Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: From the software point of view, the KX134ACR-LBZ is almost identical to the KX132ACR-LBZ. They, however, have different g ranges and ID register values which makes them incompatible. Add compatible and information for ROHM KX134ACR-LBZ accelerometer. Acked-by: Conor Dooley Signed-off-by: Matti Vaittinen --- Revision history: v2 => v3: - patch number changed because patches were dropped. v1 => v2: - Improve commit message by explaining why compatible is needed. - patch number changed because a change was added to the series. - rebased on iio/testing to avoid conflicts with queued fixes. --- .../devicetree/bindings/iio/accel/kionix,kx022a.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml index 66ea894dbe55..c973f4941a6d 100644 --- a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml +++ b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml @@ -11,7 +11,8 @@ maintainers: description: | KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting - +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a + +/- 2G, 4G, 8G and 16G ranges. The KX134ACR-LBZ supports +/- 8G, 16G, + 32G and 64G. All the sensors also have variable output data-rates and a hardware-fifo buffering. These accelerometers can be accessed either via I2C or SPI. @@ -21,6 +22,7 @@ properties: - kionix,kx022a - kionix,kx132-1211 - rohm,kx132acr-lbz + - rohm,kx134acr-lbz reg: maxItems: 1