From patchwork Thu Apr 27 13:29:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 98286 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp98591qgf; Thu, 27 Apr 2017 06:29:42 -0700 (PDT) X-Received: by 10.98.51.6 with SMTP id z6mr5889611pfz.197.1493299782521; Thu, 27 Apr 2017 06:29:42 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i63si2654172pfa.404.2017.04.27.06.29.42; Thu, 27 Apr 2017 06:29:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939250AbdD0N3f (ORCPT + 25 others); Thu, 27 Apr 2017 09:29:35 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36705 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938091AbdD0N32 (ORCPT ); Thu, 27 Apr 2017 09:29:28 -0400 Received: by mail-wm0-f42.google.com with SMTP id u65so16843051wmu.1 for ; Thu, 27 Apr 2017 06:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=OEq0tMR/ioUYiZ14cUZyXEulLi8Nr/otnEmRxkHqLW8=; b=ML2Who+5aRd04MPyGdEuR578VPlpXoX5V6EEfcEptrQHcey4ykVRjSW7VqSGIqPkqA oEFtaoeZr2L8Yin9tNUQU7BB3qC+bn7yzeKi+Vouc20fFeXQZSgoWT7WqZNshhnsM96A eqH6mGKUoD0AaVXv4MHZ1cT9iFLYMB2UsdnDg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OEq0tMR/ioUYiZ14cUZyXEulLi8Nr/otnEmRxkHqLW8=; b=CvSRWu0nTf6jxs8fJdoYEaVO50GEcOHeK8PB9rCYq5eHUintj9Shrx2wQkgiw5zyIs gm6hMInvjndaJ7MJ9p01eSR9SjOltcjcUkfd1mpO2ucUZoo8DmTZdmT0o/LZhCeXUbkG efmNk7ml/6AMSX/iJPHtaC3bffShE61IjzHsxAQvNncIJCQHUWStPTuvxBYUj1VFkcE7 /vm1bTqIhxm5ityNasrlmi2a4ls4AnI8PjuK8WzjJMf/n51KBqDkQtil26xpxsu6ZLhd 6UrAbhH0S9AcmZxk8sU3GB8ECGvhWuHbj5d5cRqY5l35eJL9M19KwQna6yHfTmDmTubl Bd8g== X-Gm-Message-State: AN3rC/60XX89ZdcPN2D89IzS/JhvdalG3fnSLCaEFYB3QtIX7zc1LikD 1lxtGETWViGlrD2J X-Received: by 10.28.173.65 with SMTP id w62mr2331876wme.48.1493299766884; Thu, 27 Apr 2017 06:29:26 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.5.151]) by smtp.gmail.com with ESMTPSA id w126sm9182345wmb.25.2017.04.27.06.29.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Apr 2017 06:29:26 -0700 (PDT) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: linux-kernel@vger.kernel.org, jic23@kernel.org, linux-iio@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, vilhelm.gray@gmail.com, mwelling@ieee.org Cc: fabrice.gasnier@st.com, linaro-kernel@lists.linaro.org, benjamin.gaignard@linaro.org, Benjamin Gaignard Subject: [PATCH 0/2] Date: Thu, 27 Apr 2017 15:29:14 +0200 Message-Id: <1493299756-18157-1-git-send-email-benjamin.gaignard@st.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those patches aim to complete stm32 timer features support. The last missing part is to be able to chain to timer blocks which mean that one of timerX's trigger could be used as clock for timerY. Since this operating is neither event or buffer triggered mode I would like to introduce a hardware triggered mode in IIO core. Benjamin Gaignard (2): iio: add hardware triggered operating mode iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode .../ABI/testing/sysfs-bus-iio-timer-stm32 | 15 ++++++ drivers/iio/industrialio-core.c | 4 +- drivers/iio/trigger/stm32-timer-trigger.c | 61 ++++++++++++++++++++++ include/linux/iio/iio.h | 6 +++ 4 files changed, 84 insertions(+), 2 deletions(-) -- 1.9.1