From mboxrd@z Thu Jan 1 00:00:00 1970 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 E66A5C4321E for ; Wed, 2 Feb 2022 23:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348147AbiBBXvH (ORCPT ); Wed, 2 Feb 2022 18:51:07 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51415 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239716AbiBBXuv (ORCPT ); Wed, 2 Feb 2022 18:50:51 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4F6C55C01D4; Wed, 2 Feb 2022 18:50:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 02 Feb 2022 18:50:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; bh=G3uMJoiuyTNYSzQLHkBtYHuRGGlAUi5KOnThdB 0YcG8=; b=NXJUF3YhKRU8bfeCGs/x/X2JQdeLsluEgkicQJx6DgojU5K1kP1egf MjvBexuh379F9p7Hr4QkjeDfPjE7jLlYpXnA1EPaJ19oF2CbNNG2SBOhhvNyuyQv D7ruPgB3BaHr37k7Q3/dKrASPaQqFCDDxpYLbQsoDNhEFTN6nwRBB6d6GnOPQTe2 r252aLGGfKgYE2rtu1Ok1VdvI3h7mSa+V6pHiIWAV46SDEEP+v2oTcGvrdQAediW zCFM9acWwtLAdznMqKjlYINtKITMbm8Y7qWf96JUYVr1Zcv++ImPgDlSySBvtnwV d9tEjmSWYcW7Kiypgq2VrYAAaX2Cje2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=G3uMJo iuyTNYSzQLHkBtYHuRGGlAUi5KOnThdB0YcG8=; b=MIKrEs6WfmCWJ7tQql0C80 WHMokSU/wQi3Xs0D+OzuLb7WpxE993bmu2xDWxOPv7CD5/UzlaDizng73KhrG+Im T+utaLt4xjJ8azlv/z9airUp9fRigZOI5tMiBcB3O8HRvTc8/2uuc04HO/AAWIAo huR7yIH+mydfbKdADO+CqkzjmbjBQSn9wN46ptZgnQ9rP4hvMMTLcFuRBCUUW1zV v0VcMZLlWbb6uvaSdDoEc6yEpIg/xoCJCzufplkqmPKtKJoQBqScgrgNR4xxG2mX tYoQreaKvZDRtqs8CMAsPzG9Tp5aXFd1/P1csPDy9qWnLd161pf8+rCRabOWFU6A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeeigdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpedvleefveegvefghfegheeghfehtdeigeejfefhvedvueekieefheetfffg veethfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Feb 2022 18:50:50 -0500 (EST) From: Samuel Holland To: Jonathan Cameron , Lars-Peter Clausen , Denis Ciocca , Linus Walleij , Rob Herring , devicetree@vger.kernel.org Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH v2 0/3] iio: Silan SC7A20 accelerometer support Date: Wed, 2 Feb 2022 17:50:45 -0600 Message-Id: <20220202235049.8051-1-samuel@sholland.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This chip is register-compatible with an ST part, so it works without any issues when added to the existing driver. Previously I called it a clone, but it's not really a clone, because it's not a drop-in replacement for the other chips. The software interface matches the ST parts, but the pinout does not. Instead, the pinout matches the Kionix KX122 and KX132. Changes in v2: - Move the new compatible to its own section - Add a comment about the WAI value - Update commit messages Samuel Holland (3): dt-bindings: vendor-prefixes: Add silan vendor prefix dt-bindings: iio: st: Add Silan SC7A20 accelerometer iio: accel: st_accel: Add support for Silan SC7A20 .../bindings/iio/st,st-sensors.yaml | 3 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/iio/accel/st_accel.h | 2 + drivers/iio/accel/st_accel_core.c | 83 +++++++++++++++++++ drivers/iio/accel/st_accel_i2c.c | 5 ++ 5 files changed, 95 insertions(+) -- 2.33.1