Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp786304pxb; Thu, 17 Feb 2022 14:56:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQyTCuO94aET5qlAyoXh6fnyqipg56wTlsl2G9+lnGFXXS3t0ZjbvtsQ160zzgs7rt/cOi X-Received: by 2002:a05:6a00:16ce:b0:4ce:118f:8e4f with SMTP id l14-20020a056a0016ce00b004ce118f8e4fmr5274930pfc.56.1645138591913; Thu, 17 Feb 2022 14:56:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645138591; cv=none; d=google.com; s=arc-20160816; b=GflgAhEkPJwgFZMF1zOSXaBUjjHOOsKiW41dONJHZtUhKdB82LQ1yR9ZcL4W0ofqfy rtGsW+3hu0mW/6KGMks28JLjqXRNohvHltbEi7O9HsWdPDFCyJGb37SWThMDvT001owI W28L+LsgDfBG9uGtb2IEA3gPVFMpjRKmL0lMgjOM3twPUnvSie+ZemPbFr4iksl3oBx1 vEm1NnnciQzf7jMEzEnqSjIg8XY1Z31Is8Gsz7y7YFrECR/0pQGrH1upJqpMM1LF2sxs 8CnJusU+qjxVY6CCgX3vW6NiBbrtV9pdaebZU8pRyMP0dlw9dvuFN0Z0NPrmfEBP4G+4 htFw== 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=AUSQzyWXxaMbI2StNt6fPks9oaF2ya4dbWkQ8oow7Q8=; b=k782w74RFFcTnwe/WqXTUuD2mRuF6j7UJ5fI3PTp79rOn7sF5f+rWpyE1PnbPAj+ku fV2C28twpRK/Ip5OpkBlF3GH2YPGTag0GTz4r1C37W++GNbc1+8Ynzr9MceNBT63UN32 E/1L28JINhp3ocXp2gyW3BhsmOdvY4nbVkNUGZl+op/tK6bK2vdnPeSMmAve6YOJ3SZJ T7ZlNYHXwJ+CeCT4P4Oa6548aaetjyY7lJW4jyCzBU135o+rRquH4eAtzpOUubdVOCxe 1WKs7YBnLPpkQZiPIUyYtUQgjbywVRVGTJlrb9loxcta0YHRJqhNXAV52Ru8LCWo2bab Oy8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=K8tHi1q0; 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 k21si6220933pll.131.2022.02.17.14.56.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 14:56:31 -0800 (PST) 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=K8tHi1q0; 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 2927A273779; Thu, 17 Feb 2022 14:55:47 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243141AbiBQQ1u (ORCPT + 99 others); Thu, 17 Feb 2022 11:27:50 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243112AbiBQQ1l (ORCPT ); Thu, 17 Feb 2022 11:27:41 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF1A9A9A3; Thu, 17 Feb 2022 08:27:27 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id c6so7892591edk.12; Thu, 17 Feb 2022 08:27:27 -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=AUSQzyWXxaMbI2StNt6fPks9oaF2ya4dbWkQ8oow7Q8=; b=K8tHi1q0F0MS6DAc5fxAjW/gdRCCAZYCmMJAHFtP6RpvEnUE3b+opet9gSno4ViEo6 OD5z2sgTr7j0w19UzkMRzRJEjVkkEeUm0cyzz9/S6KLeaR7yYwseeDGJID/oIxRWWumZ bzeTm5NE5MCoXKR2JgUX8HmyBR6kXcPlfHcOscUqj7Exc81/zR10bMiPf04Yo5JOzmco kS2nfSubtHGnBhsrPyxVYUsl2thHNsA3pe5wvSbn07MnoRm94HQ1+R8oYRh/CozHGGcr CZUAYygKdfMWE7BX7rcLAQ+IXRaVKcideTLWr/aPR6A6sJ6vG9fLxBMLEesqivBOc1iY DnUA== 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=AUSQzyWXxaMbI2StNt6fPks9oaF2ya4dbWkQ8oow7Q8=; b=dKZk17kEeKxD9szda2hWk84gsFXTbGgN9S5KUd047p1g9gxVYpO5hutRy/PTmuNcu+ yPYYPZr6to5jItJXxK2Kw+nu2wR4wMkwrlRe2Yj0KHSFnKai5AdaL6Eke8nyFLbRngYn d4cWre1tIkmVA9RnC468PUYpAJ/Z7PPBRl3IlbHSU1nPzKfthtm5jERRJeD/oFytG4GW Xw64a18R4I6KSzRxKPO3OXb8W7d3OA3Hc2wKE996U6m+V5qaBHUULcfd35Hp7M9lr1WM R0kFgUZXxFHWv/KUd1LL4zIgdBYkM7N6dolPPJ4/ZNQXkAEY94JSk8vb17Qq6ZC5mRjW 4efQ== X-Gm-Message-State: AOAM5324qjMSMeOgYhCJfKy3fQ6g7meLwkSRJDgM6+ic2IKqfP4xTOnH OjMXc2Vn+nm2m/z6Ngo4M/8= X-Received: by 2002:a05:6402:2922:b0:40f:7241:74d4 with SMTP id ee34-20020a056402292200b0040f724174d4mr3522116edb.43.1645115245788; Thu, 17 Feb 2022 08:27:25 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:27:23 -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 03/13] iio: event_monitor: add linear acceleration modifiers Date: Thu, 17 Feb 2022 17:27:00 +0100 Message-Id: <20220217162710.33615-4-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=-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 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 b94a16ba5c6c..84c90b8fdd91 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -121,6 +121,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