Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp61169lfe; Fri, 15 Apr 2022 19:32:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHrg+N6IdP8vYGqguAOcs27JdkqXOxq1NoKa+ldW+KMtV8KD1XB7jxle1KhpDymUI86+8z X-Received: by 2002:a65:490d:0:b0:39e:58cb:b1eb with SMTP id p13-20020a65490d000000b0039e58cbb1ebmr1455882pgs.390.1650076355782; Fri, 15 Apr 2022 19:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076355; cv=none; d=google.com; s=arc-20160816; b=a0DNp4t3WxKpmgeOIlfe5rq/5lOVwhA4ZwcXWcjQiG9bs/cGXwRRe0I4LGC2bac37q VW+jEuhWmjWSuWYstZe7/gjwRwwmO0x8mFHz4LDMOGw4JcQioASQfE6XHkRnnGC8WmRj VL8M1K3kWxjQOqcbq+/ZF9R+eEL+Q6XyYf++LjlAxBqR59ws2EGx5BHV0FroKJnsOxHg nNPqk+aO9n/ilt99Bvh0kBl4+4EqfUyqBrqP5TGzGP609reU1kO7MvS88+OSQr+WM1ah E1JZJUxH9RKOPJuDLzLf3rMn0vsUkPvz6chArVICjBpuaW78JhyICGz1r/6o2cSGYI3i gEmw== 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=3Xvx5sPX8B110OzO80GAdzNt8JGNouTiqBus5fdMrDM=; b=g+2Awoz2DM7VcC5Eigmsm16AETWItsR+9pMDoaJWGxlhe3swv2pldHYTHstcxMxo65 gHGKe+Kbu95P7eu7Sj5I8EFB0nNHaDjyNUcf1KEjy96cMbIhKGTrEMh63EJaYYl8TlDs i77yDoh8qT24q0R2yQybbh+rvIbKO6vljj8VCymWXHDetdSW845FdRlsmdv+z5nQFoni 5bkwTsbgTRaudSN3Xh/2wYMDI5N3Yyrt73iRwRilDk3+1oxpxmmTM7gGebFW/kHnfRLS dUpfj3XjUnbBd1KgIJO4wCypyTkjHnf3a1Gt40UuP6a+XJu9i1Cwnl0dAmWW6Z+i9ZF6 hzFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=biDGPgDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b21-20020a056a000cd500b0050603f643b9si2953950pfv.103.2022.04.15.19.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=biDGPgDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8CE4E165BA3; Fri, 15 Apr 2022 18:42:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353880AbiDONDG (ORCPT + 99 others); Fri, 15 Apr 2022 09:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347265AbiDONC4 (ORCPT ); Fri, 15 Apr 2022 09:02:56 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAD83366B4; Fri, 15 Apr 2022 06:00:27 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id g20so9838141edw.6; Fri, 15 Apr 2022 06:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Xvx5sPX8B110OzO80GAdzNt8JGNouTiqBus5fdMrDM=; b=biDGPgDRmjRvL5P6qB2bXUbIMT0usHPwP7HfMBwb+CB18nb24+9XaYg6fBCCYoXSr9 B5Jh/ZY6DH/VZZk0G/bileKb/aMOn4aOFvk99V2aImxBmpUK1YKViYd+k6G6evAmbLij BeFlPMGpPGF3PWFKpKHrGh4I0DIApyVckDgMryKEp+P8aBIjdIJCTzvV9xaE32CVmOvF yWrPyC1QE7q5jWiYv+QmW09zpOouekJBJOLArWFjI0Ss2LLGb2ttRU8SYrwYUJkE/KiN P1xBu0OmnGWAscnKHbuopxYxM0IwqOnk+KaN7h3KRPOwa9dDFp5oiMGiz8ZRIhFAQq8h l1xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3Xvx5sPX8B110OzO80GAdzNt8JGNouTiqBus5fdMrDM=; b=gtG8jYYxnE9//GMU2yQW8QtVZGY94s4VCsCjIMUgFS6Wxm2zlHzxAw53UR6XulXwVi 8fWzuw6aHPw2GP+uql88Fu/AxExg8za9VzPxMTzLr0SX+mCzYBQuntZ/zIMejOPhKzlR p4SuKSKAbXAl1zGBG3w4YK+PJtI3KVr23xWStkbSkCoM0mnq+F90nztUxrObFJ3aFdQn eNcz/26Aw+JhISLUxlaQQ25r2YAxeoApxBIE89C48t5vXxKxyEqVB+PBf4QuVlnRtmPO 6Rqh2q5gwbcwNV0r0GfpLJXvPXVRHYG9sqkqj9W8peNrdUOKLVjy4IKqbMi9JZwnp4hL iqgQ== X-Gm-Message-State: AOAM530MrrpFwMwZv1l16k6WUsT13vrJxTtmpNXW/JJ1B067pmN7QZRD WhkmMcctM8p8tNGUZkz/LhHoIS8yOjOstg== X-Received: by 2002:a50:c00a:0:b0:418:f10f:b27c with SMTP id r10-20020a50c00a000000b00418f10fb27cmr8005693edb.204.1650027626362; Fri, 15 Apr 2022 06:00:26 -0700 (PDT) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id i26-20020a50d75a000000b0041e84bb406fsm2704715edj.0.2022.04.15.06.00.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 06:00:26 -0700 (PDT) From: Andrea Merello To: jic23@kernel.org, mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: [v4 03/14] iio: event_monitor: add linear acceleration modifiers Date: Fri, 15 Apr 2022 14:59:54 +0200 Message-Id: <20220415130005.85879-4-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220415130005.85879-1-andrea.merello@gmail.com> References: <20220415130005.85879-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Andrea Merello Signed-off-by: Andrea Merello --- tools/iio/iio_event_monitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index 2f4581658859..1fee44abb836 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -122,6 +122,9 @@ static const char * const iio_modifier_names[] = { [IIO_MOD_PM4] = "pm4", [IIO_MOD_PM10] = "pm10", [IIO_MOD_O2] = "o2", + [IIO_MOD_LINEAR_X] = "linear_x", + [IIO_MOD_LINEAR_Y] = "linear_y", + [IIO_MOD_LINEAR_Z] = "linear_z", }; static bool event_is_known(struct iio_event_data *event) -- 2.17.1