Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3768684pxk; Tue, 29 Sep 2020 05:57:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoMs6oigG0Rj0irodCHf/YK8HLCB4Ataoq0R8RNFdkixTTNSBrOG1FQVh8vK9J1qTN5Bzh X-Received: by 2002:a05:6402:b68:: with SMTP id cb8mr3155286edb.350.1601384267717; Tue, 29 Sep 2020 05:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601384267; cv=none; d=google.com; s=arc-20160816; b=LsQ7AIf8NBqmtIhSnjMJEOM4INphavMo7NLcMoDA7BC9VMwd+rG1XjIAt1GasbDQ6+ 7JF6NXJsGPT0xryNHK4lgg2Y+bGZxE6KJrDZZsdS3OqXewpk9EoMoAcscaT4RZGpxWW7 gxSF/neBa6fGtItXEktwOYIC2P6uzDgN0qgbNe3Afstbrxhm+ExI8eobZeEDTZG1ynqS aw4Lkf7KbnrBEE7FK4MIFTZXKJTPecW8Zi6OLy+tLRBBl5UVjVUQ8dOExavClHSWkp3v 0KqSQimSa4aF20R3cU5CV+YR504dP3T5yiAtVAHDbqOerVDYOodr+8Zv4eGwNWiin3Uw rJ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:autocrypt:subject:from:to :dkim-signature; bh=riBCsGSrvVs1MmPzP8zZ7cZlVtj1L6yxJ2egJQq+XXQ=; b=xylPD68ZsW+yduX+gZyJDJdJcCN1/6Tf3aRheXynfTx4Q0sGiN/x17hJr3WOspR64Q 7MfbqFvlpsSkevgPD9FgD2cBoiTfR+WTqzAXJAT8fijvkEemzGABvyWN+Q+X3vTPWsur zrPy+jN2dMMfNqFlqbG5rBtG0JRwy2LURnENXh+RbttQ2N80adqFgPHXzvk0zfV3dE/t eYvWlVgGFo9TlmlXE9io406B0Va1uLW9Gow2KKCpdoO6nt8ulDA/Rrav/0UwZBQoZ0zq +/XVS9//3Q1EKKm9/0Rv5ZcsUU2lgpn/w06OfVAgfvvLn3imcK8/q1GvWAn/H+wU/b5/ t8/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=r4L3Qo5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si2799160edk.57.2020.09.29.05.57.24; Tue, 29 Sep 2020 05:57:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=r4L3Qo5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728579AbgI2Mze (ORCPT + 99 others); Tue, 29 Sep 2020 08:55:34 -0400 Received: from mx4.wp.pl ([212.77.101.12]:40568 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728185AbgI2Mzb (ORCPT ); Tue, 29 Sep 2020 08:55:31 -0400 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Tue, 29 Sep 2020 08:55:28 EDT Received: (wp-smtpd smtp.wp.pl 30980 invoked from network); 29 Sep 2020 14:48:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1601383727; bh=riBCsGSrvVs1MmPzP8zZ7cZlVtj1L6yxJ2egJQq+XXQ=; h=To:From:Subject; b=r4L3Qo5qReuksrySav5rVJkaLySKsawa1+7pp2JhtOGwetj2XS8YzVZyzpqTsO4Yb 9DwId/1dgck+2+mGfiz946kxU2DBrXYRLzSwkqLJVXNlwiKeJLIRevHrbGym8b2Lmd 0kJGNT8CGy+zSEDfQUAQZ8O/HCr3J164cb5q4ltM= Received: from citpc010.gsi.de (HELO [140.181.101.163]) (scriptkiddie@wp.pl@[140.181.101.163]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 29 Sep 2020 14:48:47 +0200 To: linux-kernel@vger.kernel.org From: Marek Szuba Subject: pps-gpio: Allow enabling the option 'capture_clear' from the device tree Autocrypt: addr=scriptkiddie@wp.pl; prefer-encrypt=mutual; keydata= mQINBFhAQMgBEADPCDmdV6NjYeMPR/fTK184EQGj0ol15JOPsJnbLI06lk2uqBTxBHxhRs8c Y2dYj35ozo767S+Uz3uLeIs3ynLVm8ArLeIR2rYsUnrw5jETIf1aH89fzgxVmTFCXGk3aobO IB/QaTzYWSs53cJVF3uxBmuWvx0W+33AaOaO3dscN9K0Ro/wEg7jb5ZAAi9/gfcVabNOMX5b LhcgJTQXrsEgSwpu1ZilKCRCAeJ60eUW2o0awOAdPrEjmDd1FMNML5ZamotZmU7nwmsDRibY AyhddYwGptQp+SHah5pj+LR3F+Gj4rpM8OLMSfCxWszOhiuwKU1PctUCv+RFdA/F79j5TQqW MVf2x2ki3JQFWfO3omtDeWUC0d4oBfi9+42wNNBpYpEHZ/5Ly1FnibagQPpdpGJB5XTKQDf8 bCHPi8rKo1E2Ugwy2FXvflbNlicG/C6N4OKYs1jamBANO9GulorTNRgiQ9CeNwwbEcCu+f9B KjrQVw5DWXQxtuCgHqD+WGhjbAU74bQFk5gfVS6mYTIgywY1k50lrzNBFmrrbmXGRqhzQkox ltMptGqRHHVndJoDuWra5CLHo+r+YfEJVfge4Nysa+PLaVhNX0bl3HEPpAR97ji233htkWsd 6P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6rbYHliMLnAb0Cftw01V9ifWeKVXYoYqtKOE0udWqzCSoM+QDK6NpnW+ 8p+UsamYNIYwMY1ueH9wHRxH9I58TFJlIkaQYs/OX7bAxsqd9am7L20MLd2IYR9rmp85ibxG O8OVhGBkPQabPL/XdhZhOCLZiSbAicUwiUCw3GQDzzUqAf53BNw0TMpPuQr0k83sNmZ3xX8U epWHuZlYou4bHIKDIW/szSbRqHCv8H5os4shU4dGtscnXplVXV1HOZG9kY+jJwEUn2rt5Iz9 YzOR/950/bY9Zk15KKZXklzGff3c/jEJFaSGT2y88RaMviuZ0Tii5wEN+GBTutau Message-ID: <5495aa2a-7f37-e6c8-9f6b-db1547be6db2@wp.pl> Date: Tue, 29 Sep 2020 14:48:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-WP-MailID: b6f833ea61eda7d2089fbedc861e4091 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000002 [QYFt] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, It has been possible to switch asserts from the rising to the falling edge via the DT for quite a while so it would be nice to be able to do the same with generating clear events - it is useful for improving timing precision under some circumstances. Any chance we could have this feature added to mainline kernels some time soon? It is a pretty trivial change, see e.g. https://github.com/raspberrypi/linux/commit/486a3a1dfa5e7892522d18b62aa33219a1b1ad31 and in addition to the Raspberry Pi, this seems to work fine on my Allwinner A20-based SBC with (patched and self-built, of course) kernel 5.8. What do you think? Cheers, -- MS