Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp510681pxb; Thu, 17 Feb 2022 08:41:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOKtB3yCuG+GT3Ochj9t2twELDF0VWNYXNG6pKSlKCQ+Qe9hyapckmcWyZ6xb6PNt5Q8TQ X-Received: by 2002:a17:906:1e06:b0:6ce:70af:ce6d with SMTP id g6-20020a1709061e0600b006ce70afce6dmr3069037ejj.571.1645116071921; Thu, 17 Feb 2022 08:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645116071; cv=none; d=google.com; s=arc-20160816; b=oL5OGmMh9we+LbEGYx1d0XSTTHj/iYli62Dy8ICkI55hbn7OkYH45HIpvQ0zS2Rhr4 Ngi3f35nh1PJGktO8sZMq5OIMGnlL1AfPFVbuOdf4IaPSzPI9p0pnj3TIjEoYIgFHjmM 8a565yik82TjRIp4RY2Z0vJT76b485fVszEhICBlaS5VGtggSXRykFTU5lICqO0ug95P Bqf/lz5tjljzakjKx5Gge49AVtfyWT5C5+iX0etEg1QmB0G3pSq8IiafiTZS4FVHXsQt 5PqBrXMEmd2M5iRe9+9S4DHqv+biUY/VeprgTTz6cc1mctbXGumtt4U2ywPIL+J71FRQ nCog== 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=fyI2iByz/xYB8pZuuXPhbshZsKIQbcfM5MPfG9RLCsY=; b=X9QbPBrCNOfBHPLcZHplSIBPpLLBZ/H9P+JGcsAYK6bu8w3MAQIFrte8rs0cINfIE5 etbbCQ/TnW3qkhMG+N+GtU46UBVikvKVUe+q3eQ78pKyeFhcM8TqL7G2ksBzQTlEbKh4 nJf6lAE/oT6DBt1LbO082b63QMZ/YE9eo/0ldpELNJgAwb3m/rp8hRGwincgge+a0+Ac KmwEu0xGy9GQ4Sz0iFYt0Bx7iLssFuoJKa4X1jO/OVP/mldIKrzLHpmFf+/nnEUi3gbF 6OH2JgvGf0HrQkD3rgwgH/X1qs721TyoVzHIvatrSEJd24Q5DbJkkpntI3EIbGWQHgAI lmKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nBs7uAcs; 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 g8si4898369edz.31.2022.02.17.08.40.47; Thu, 17 Feb 2022 08:41:11 -0800 (PST) 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=20210112 header.b=nBs7uAcs; 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 S243201AbiBQQ16 (ORCPT + 99 others); Thu, 17 Feb 2022 11:27:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243135AbiBQQ1p (ORCPT ); Thu, 17 Feb 2022 11:27:45 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04A969D4FD; Thu, 17 Feb 2022 08:27:30 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id x5so10580035edd.11; Thu, 17 Feb 2022 08:27:29 -0800 (PST) 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=fyI2iByz/xYB8pZuuXPhbshZsKIQbcfM5MPfG9RLCsY=; b=nBs7uAcscx9WfUNJY3gcaoQY74z4LftQQuRgfAM8WoeXda5KHoWRwpyj9uvfpdhpYu vqQKGu3W67QhqnxQe/qthsJ5M3vO3kUiXdV69MaANkfZxLuQfqrylYxAACZZ3TLTGube AoNIol/LwnCNCuoPA9Vmpz07hsGheIE6HdWThoiSTzOT8PN0F4BkIaOaA2TKasmDwMZS ma2r+MJKiHyarg/iFhiccHBmTiWYX2aUShrYna0qSeeNV8uYp3D8cYUZueGPaXVK5VHD LEwyTzogmyaQxhVAUIi0CKuV5bbxaeYcdNrlSNDfGuh74hbuvNuwXgBWX7UZNMaMBs6+ tlDA== 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=fyI2iByz/xYB8pZuuXPhbshZsKIQbcfM5MPfG9RLCsY=; b=eJxnkxtp261jrXDwSrfIcIblp5l54K0Tn0gcwVQ8bBTq684Z5yAmqBISwhjPJhADNE N4pmrcTQrx0VPZbQq75dzPo4pwyGQRGuWgz0taGMUeDxCTnOdg6mXzYeiUXjSKChDYKR 3nv+Xn1fk+lAxqizTi2gNUr47hkkVQ0vRqwusC2rqMC/Fx/5UvRXuBy4kldy5PYgXbGc dUfIV9kenO+MYwDFhMNXmol1Oob1xWrxWAyqxSVD+Y5EfDQZRyyKhNKgCaN5XsTr3gHg 1GsY9bh529dwrSowRYNh4sJJYItyZJBszxyEELKhOGwYIbvMRxpbLIumxRdZsDKh/O24 lLRw== X-Gm-Message-State: AOAM532uN08CpIx/PBA2Wlc+XL+WVv+OI5ZktJSLcmz9D1nqS8xpyBre Xg4uGUgGXp+lfmcnyUYkbzM= X-Received: by 2002:aa7:c98a:0:b0:410:b8fa:6faa with SMTP id c10-20020aa7c98a000000b00410b8fa6faamr3508169edt.117.1645115248595; Thu, 17 Feb 2022 08:27:28 -0800 (PST) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id j13sm3653742edw.24.2022.02.17.08.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:27:28 -0800 (PST) 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 , Andrea Merello Subject: [v3 06/13] iio: event_monitor: add pitch, yaw and roll modifiers Date: Thu, 17 Feb 2022 17:27:03 +0100 Message-Id: <20220217162710.33615-7-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217162710.33615-1-andrea.merello@gmail.com> References: <20220217162710.33615-1-andrea.merello@gmail.com> 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 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 84c90b8fdd91..436ac2f6b907 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -124,6 +124,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