Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp240607rwl; Wed, 9 Aug 2023 13:53:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjGadn9qa0qfQoFgM3zSAs7oh/M9AAcUIDeqaMUivpk7bTauKsqBdlk6/+2uTsj+EVMQWt X-Received: by 2002:a17:90b:1e49:b0:268:2f6:61c4 with SMTP id pi9-20020a17090b1e4900b0026802f661c4mr52197pjb.12.1691614405127; Wed, 09 Aug 2023 13:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691614405; cv=none; d=google.com; s=arc-20160816; b=Z9D/HdUqOSEY/KCihzaHp6LqiPNA/OcZFTkSneQMOPHUglLai5W2XdN0OknDZnPKsW 9m1LVFhiRfa8c5xsGpCLjO+VLp/k8DmpQMI7SWhqmoTLdyy6ppuDLUWLqyyy5q4kikP/ sLSzMS5h3CaoKAHGr/WWTRKMIX44TTnMpkSDMjQ5R8j8ihzBjUQOxfaZ6Kgqb/kC6vSJ Vu/tMAN61yRUb08Vf7Y9eiCLahvpCljpaVu3itHhohbwah5NcSYwuZPDmTMLMKzxtm+v 6YiAiCTFs7p9+c/GmqT9aXqltF3MrWC/4XPeeT37TqsmU1/Ay2gZPntbCfjtXIScbkEx 9QTw== 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=hHOxYEOCiaK7yG+Kbl87/DBR8ScHUJdXSuGCuLAA+rY=; fh=i6Yy972OO273jc6nhvXsVnJz9vndMdlyv2i9YjwnXJ0=; b=eE8MDpcUzGUljxnDsO1rQDucDByJvfjojbyTigG2im2NEYuGeoQr89aVv1qtJ/qqCd ekr3kRU94rZ0iLP6P/cdvHJU6gGHHyzJJ7LxJZ3pVgqy2nxuldA/D1YVYZ5OWWMrrxbq G7bQHOgDnnp9W/N78JpL0IYNVtKDqt/qFiAnpbfCbiaMQlDs8oDeA+BQaouW0xId9z6r j7JsEFhfLJ3NDpcoYjZct4nDv/fa61kAJozHlNPzJPGHCx4z1Axilsgrvo7F/IyKjHy9 m+RZjwaIp0MURcWeJ0SYcr9NOU9eELOS1BIC1hehbJt0N/4GOczviSwSqngACsrbQUVi CGww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="QlsqP/Vo"; 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 h16-20020a17090acf1000b0025bea0a396asi2190977pju.6.2023.08.09.13.53.12; Wed, 09 Aug 2023 13:53:25 -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="QlsqP/Vo"; 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 S231286AbjHITMQ (ORCPT + 99 others); Wed, 9 Aug 2023 15:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233059AbjHITLy (ORCPT ); Wed, 9 Aug 2023 15:11:54 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3EC82683; Wed, 9 Aug 2023 12:11:51 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3110ab7110aso167684f8f.3; Wed, 09 Aug 2023 12:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691608310; x=1692213110; 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=hHOxYEOCiaK7yG+Kbl87/DBR8ScHUJdXSuGCuLAA+rY=; b=QlsqP/VoV81B2dlMesBtI3mtix4KC3W2Qi+yda7E+MGj6TQgQhG0ANxw2CRtgOObYs eloWWS5x3MFaF+jGHl2ZQLoM30nSn3A56MjvSotZQ1ho/cSPKxSMAbBwhmOdZsKHJcXr 0AZuFcA+SWbf/oqFtNqvpfeXJF1s26z59L+n2AyZzmRFTFOMOf9286DKT861Fl8oam+0 lwtSq1k7TeLDHhobEW0Ne1pZEKws4uUyCEB4pln8of74IebkVuS0UbeFkJ1fsnanklzf /lWRhj0hht26KpJF8blUgzkqIMReV9TkdANFO7R2Zj1pidqKH6wVeNgcKTowyL1RJWz/ 4+8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691608310; x=1692213110; 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=hHOxYEOCiaK7yG+Kbl87/DBR8ScHUJdXSuGCuLAA+rY=; b=DE6uBgMO90FgcFiVIM2xQmiQLuK/kA8n4YT45ZUTzB/eXr8rj9Vfg3M/B1JO2H8poM nwN5OoSigvWtfxd9ClJZRNISj3A71+S7xgP+rn9NUeivs5crPXQptpOfAtT1Mb4J3/5V UrAwc34jI2Sx2uY/AUUlJBTZPy0FU/z5OZULetq61kqjMNGxgb7QWbx/+e+lsu8qOeap BGGZWgpg4gwX+6hh7OpjlDoF2nU0HhnaswNSwMGBH9VBogltajXmNNVFRvcEEbrtT7pi 68ulb3pcl7r2UyXvrIFIcL25gXZs80ezixQtNSZapqM7xBtliH+B3e4DuRxvnqpFN5b/ 7teg== X-Gm-Message-State: AOJu0YwmtDOX2gfo60hjrBFjm7AddhqGJxMqdizOlhdBsw1/Z5H4hfQO ZEn4k7O4Mwgt412PYFFen5ZajZncl5Y6cA== X-Received: by 2002:a5d:6091:0:b0:317:6704:72c with SMTP id w17-20020a5d6091000000b003176704072cmr211016wrt.52.1691608310304; Wed, 09 Aug 2023 12:11:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:bb2:6df0:64ae:3840:3a64:b26a]) by smtp.gmail.com with ESMTPSA id f6-20020adfdb46000000b003177074f830sm17582681wrj.59.2023.08.09.12.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:11:49 -0700 (PDT) From: Mehdi Djait To: jic23@kernel.org, mazziesaccount@gmail.com Cc: krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, robh+dt@kernel.org, lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mehdi Djait , Krzysztof Kozlowski Subject: [PATCH v7 1/7] dt-bindings: iio: Add KX132-1211 accelerometer Date: Wed, 9 Aug 2023 21:11:32 +0200 Message-Id: <0d6051ad217f91c7de0883c4ca1516bdacc343ce.1691607526.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_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Acked-by: Krzysztof Kozlowski Acked-by: Matti Vaittinen Signed-off-by: Mehdi Djait --- v7: v6: v5: v4: v3: - no changes 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