Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1333761rwr; Thu, 20 Apr 2023 13:24:57 -0700 (PDT) X-Google-Smtp-Source: AKy350bYo4NWFpFZnyt/mlVGPxku4UOeyoZqRkKMDtOlKDy95vVcFkKmgFqkxuN9rFzcX53shvZt X-Received: by 2002:a05:6a00:1799:b0:63a:8533:d6a7 with SMTP id s25-20020a056a00179900b0063a8533d6a7mr3142160pfg.9.1682022297607; Thu, 20 Apr 2023 13:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682022297; cv=none; d=google.com; s=arc-20160816; b=k1pUNiHOHkMRWjeuMrJbB73F4qipYT7XTTEkxnnEfnHQR+jWNBpropcW43mLPtcHEs LY3wKuX4oZbXi5EaeuCYegN9qqNHqkBBAozoIketWZHlGIDSkGgZapK1rBYHPgDZEe/U WEICKF8S76djCajLe/ij87rgcRN0+Ucbc+6bNkiUA5ZgZpH9WYLgbqUrIYBNAtfBN3R4 Dl0sO8lo3GDou/tKCfIhwoSC0QADmPi93973WYXTk/KGj15P6f/pueKpyb4PMR3B3eQ3 jf7BhXjSAFYCiNr/x1I5P9Q0RAcASE1xpypB92AthU9FSElRdKlQhW0xpDTgwM78bmqS y8hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oiDtdcy06XCyhFDJKdSPPZSHud6d0q/+1DEyo40929M=; b=LQNK8SB+Skrtk98ANs+1EATTc1WMYG9XrvXpd2/0jTOQz7ZK5UgqmC3pfwpjfsB0FG m8meO0V9+aqTZJrBRlAer1nMgBE3DZEQYffSfzYh9e7TCnjMQPq73rch3AH5CXAnKN73 nDkmFytybZJzkzDtOnbAu3IqlWYDgPQDvtpKJJru6rRIL8zTD9W1Yvc8jzPnPZ7qH1iU 2R2IxyMODtkK102f0WMF5yHs7gxAA+qjQDsM8WDFeTCD7REI1e2bYaIQR28z3z77wCvL poF0Y7sPx8mtHONubqFaOaJ8SXBy7ecXt9aR8h5/0o8vAIbIPB7JFs7vOJVPXLGsJJfo iQVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ExFVgNHV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j69-20020a638048000000b0050bfa82c243si2485020pgd.17.2023.04.20.13.24.45; Thu, 20 Apr 2023 13:24:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ExFVgNHV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232330AbjDTUWv (ORCPT + 99 others); Thu, 20 Apr 2023 16:22:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232140AbjDTUWk (ORCPT ); Thu, 20 Apr 2023 16:22:40 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87CE740CE; Thu, 20 Apr 2023 13:22:34 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-94a34a14a54so119062866b.1; Thu, 20 Apr 2023 13:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682022153; x=1684614153; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oiDtdcy06XCyhFDJKdSPPZSHud6d0q/+1DEyo40929M=; b=ExFVgNHV5faxTvk8ocYZh8K3qEo6Yz4wp82sGRqTyyP8Yj6pIvGNYbQNq38AaweiqB PxIi9d9YXgnbLyu8HvzPq6MuAmcm5GM1k6/8er5/Gcrag96tKLz+5L87T67QqbGm8lhL 9IE4IbcWB4Cse3eAwT8IAAn0KRfQjxuk8ewpjFk7+zrSlx3l4uXkLAmnuLaxca7UWDc8 Jg0f1UkUS82WhfCnhpyAfVZsC4tdv/e5r90LSI3J3+SlbPxcwEQqYHEvqaoGa7cP06kq Ic3qVcEZGeggYmaUcAt5zhJyY1pwKMHNKLMUABqRDftdxXh2KNutP/J960SszxX6d0ve BI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682022153; x=1684614153; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oiDtdcy06XCyhFDJKdSPPZSHud6d0q/+1DEyo40929M=; b=G3b99dkTpA3PTy6eA0+BZEo6PmIJ80Ch3m80tUp4FQJxMdvDTrrf1VgstHYwjwiJvL BbqOPh0UV2tYhLyaIlQbsx0x0mYOzSeVf87TsfDTyHKDyZVEhWF96gZ1jAJuDlHCjTPa qsVx2CIOJILW/07sudL07so/sc2gF1mOGbRutDOS7xMMmfl9IScPAhaaRAYcbSMEsrsQ I6dl2CVVjmLe/IsWAAMIPHwoVNkXbq+1OmfQPzPbwQ9cF7LqOIQd9PEUFJXt3wgOgkl8 uWIYZm3RMFyE/VLhk4oNx/wvsNOJCgWf7Yd/Iq6DMgz+wrCPdEr/xscqG5dbKNteQvzo Vp1g== X-Gm-Message-State: AAQBX9fb0yBha6Gw93hebae5m0uSzcl1xpU0g3TdwmSImc888EyQLQjl GmD5FpGFAqqgFbqsguBjAaY= X-Received: by 2002:a17:907:94d1:b0:94f:1c90:cb70 with SMTP id dn17-20020a17090794d100b0094f1c90cb70mr166307ejc.66.1682022152608; Thu, 20 Apr 2023 13:22:32 -0700 (PDT) Received: from carbian.fritz.box ([2a02:8109:aa3f:ead8::d7e8]) by smtp.gmail.com with ESMTPSA id q14-20020a17090676ce00b00932ba722482sm1136881ejn.149.2023.04.20.13.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 13:22:32 -0700 (PDT) From: Mehdi Djait To: jic23@kernel.org, mazziesaccount@gmail.com Cc: krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mehdi Djait Subject: [PATCH v2 1/5] dt-bindings: iio: Add KX132-1211 accelerometer Date: Thu, 20 Apr 2023 22:22:01 +0200 Message-Id: <68466b01b967efbdd1bf2de0747d35f28f94fddb.1682019544.git.mehdi.djait.k@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extend the kionix,kx022a.yaml file to support the kx132-1211 device Signed-off-by: Mehdi Djait --- v2: - made the device name more specific from "kx132" to "kx132-1211" - removed the output data-rates mentioned and replaced them with "variable output data-rates" .../devicetree/bindings/iio/accel/kionix,kx022a.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml index 986df1a6ff0a..034b69614416 100644 --- a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml +++ b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml @@ -4,19 +4,21 @@ $id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: ROHM/Kionix KX022A Accelerometer +title: ROHM/Kionix KX022A and KX132-1211 Accelerometers maintainers: - Matti Vaittinen description: | - KX022A is a 3-axis accelerometer supporting +/- 2G, 4G, 8G and 16G ranges, - output data-rates from 0.78Hz to 1600Hz and a hardware-fifo buffering. - KX022A can be accessed either via I2C or SPI. + 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. properties: compatible: - const: kionix,kx022a + enum: + - kionix,kx022a + - kionix,kx132-1211 reg: maxItems: 1 -- 2.30.2