Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp983156pxb; Fri, 15 Apr 2022 17:22:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdEe05qWRZu98KVIOlkzjku36H/NbO3sIFAgnjH3NsbfzRviqBNT68A9B5dVeRu3E9bOGj X-Received: by 2002:a62:a50a:0:b0:506:cef:44f5 with SMTP id v10-20020a62a50a000000b005060cef44f5mr1361782pfm.22.1650068555249; Fri, 15 Apr 2022 17:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650068555; cv=none; d=google.com; s=arc-20160816; b=SVojogF0F1LdfEPFmj5E7aXlRHaaW2SwqF0pMM/PSEwaYmpZyQIh9/IDrdUWWI3Yi+ PQSjBeSmPs8AZKLLY9dnIV2bCsUV4QO/lcHBCQYP/XabyVuk0xIJH7Fls1Jnrllw1eN2 o5JtBrQt6pzbwoz8dPZmy9/gRsSc+DStFtTRPr12IW4MMWGNX0o+hHuSadeLvnWxc4T1 PnXxDYJYPL6CVVDgtBUwWck5L+p0gkHt423rxd0hplXKbDsRRKJt9hFNwn1WJ3OrIQ8n ZFza/jySozp8289gPeP4K4+4cfY/mjwMbgZ3C6n/jWVx+/uDv6iAjwbIRgJPYkrdW7Ez svGw== 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=z/IsAmy95v6Y5F9dwTI7MsiIUeU/tADUMkgMK1n/xpc=; b=deidbyHErjfZCmt8Fq+UVWFUgI7cbznrdDlXJe+TVpo6mFvj9IQztPNWPMcpkHWESu cvzo8Kpd7k0qFZ/LGAeGIiPUrA/MF1GDRIp6w6wPBI4pgv6wRYIEgYspmgxzRlW+s/97 jRklYAX5r+imoN8IrOLxAbwD2ZscI80N17zrSfykeNo4bVciThykdS/I4ZAEeqHAZ0kd /PYjrBRpN/sGYvE9b/4CAImVeFNMlI6n/V6Z48DbeJlcSvY40axYUYkJRl/lO99IdCFK KYLnK/VcERBB0XXAtfrGSrvYoeAMg+eC0oJJqs9+VWw7n+ynuCAt/XFBDf2blQ7cWKtk h+Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g9eDZZav; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id w10-20020a170902d70a00b00153b2d165b3si2427045ply.443.2022.04.15.17.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:22:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g9eDZZav; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 DAE83E0ACC; Fri, 15 Apr 2022 17:21:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346616AbiDONDb (ORCPT + 99 others); Fri, 15 Apr 2022 09:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353889AbiDONC6 (ORCPT ); Fri, 15 Apr 2022 09:02:58 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8306366AD; Fri, 15 Apr 2022 06:00:30 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id i27so15248878ejd.9; Fri, 15 Apr 2022 06:00:30 -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=z/IsAmy95v6Y5F9dwTI7MsiIUeU/tADUMkgMK1n/xpc=; b=g9eDZZav229dBXLB8mdTF3wixBvTe6ubEoSSfM9sjz8nr8RG+H5D32KRu7AswaxmeZ 2kIbZjDi/Gp8epxuYrlzlVyaL7h5b4/ROGqIt1S0QbICkxuYz2c39jos8X3Fx5l9rKi8 sjsfDkUk8ndfEE6rn310pgnKMgT2tC5+2IRYPtl3TE1h0rbG6GW2RyQaG6ljEt9aJCZO XFVoCEm1yHn4VUF8KV3L+r+HV7lPwmHgHmlImzIzXrL7xyPuqjwTLoD8mbQNI9WCoLwH zsBCReZ0TA3zQ3zpSKqdgvcUFk5WTVHm9U7VOTRDKuum8McGC/JPm8yG7E08zygYvvG7 /mNw== 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=z/IsAmy95v6Y5F9dwTI7MsiIUeU/tADUMkgMK1n/xpc=; b=Vadw0sQ0+vjd/55xg138byWMkVaEw0B6gsa72YNd3T+g2XSbwr1iFrvuFbEXS7Pq02 oXrwfyGI4qoALe+F+5UJ2SckUeGzeBRfVTE/yJvxIPWVZ3M247E8qhKGVbhFzykMyJ3U nEumLcK8NFbxmC69d9ig3wDylp91OOCa1bN+RbIrFO/aySS4U7Tq+R0p/zxYH2QyHtzv 7lmQxhMnE54UBpdjbcm5wpC+1l7PWk1VqcYRE6phDQMmO3wGKiBNWRM3+DtMSWTb/0qI bIaoOOt8fMyiD/+kOEq4QkBXJ9LXu+kWAtMPZmfApGgHtltqonJp0gWQ30T1gN+CsS10 xkmQ== X-Gm-Message-State: AOAM533J9AumT50ess2yokX7p++L7ShzOlP1fdBgvIEBG6E3zARIrEzk wR5JETWhTWPesJ2XcrB2pZHm64xZDW608A== X-Received: by 2002:a17:907:2d0f:b0:6e8:b710:a68 with SMTP id gs15-20020a1709072d0f00b006e8b7100a68mr5991523ejc.510.1650027629440; Fri, 15 Apr 2022 06:00:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 06:00:29 -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 06/14] iio: event_monitor: add pitch, yaw and roll modifiers Date: Fri, 15 Apr 2022 14:59:57 +0200 Message-Id: <20220415130005.85879-7-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 1fee44abb836..ee3f78c47655 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -125,6 +125,9 @@ static const char * const iio_modifier_names[] = { [IIO_MOD_LINEAR_X] = "linear_x", [IIO_MOD_LINEAR_Y] = "linear_y", [IIO_MOD_LINEAR_Z] = "linear_z", + [IIO_MOD_PITCH] = "pitch", + [IIO_MOD_YAW] = "yaw", + [IIO_MOD_ROLL] = "roll", }; static bool event_is_known(struct iio_event_data *event) -- 2.17.1