Received: by 10.223.176.5 with SMTP id f5csp410992wra; Wed, 7 Feb 2018 01:10:24 -0800 (PST) X-Google-Smtp-Source: AH8x224WOUYd4EdjJP3Ax/SczVmTl7laUNNXFS7ifcCzjQWZ7S9hfYRoiivcBFb+WzEVotdRY8kS X-Received: by 2002:a17:902:868f:: with SMTP id g15-v6mr5404108plo.137.1517994623904; Wed, 07 Feb 2018 01:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517994623; cv=none; d=google.com; s=arc-20160816; b=O2Gxf8aYvqI3LYMy+BjTfAhjolXJfFYHhqAeZrn6MLp2C37YC3S4FYSWJQOfkGU8xQ 17wvglOJVFDhULso5bqy3HJtKJxXbPXEbH8Ru3svqkvU7DLIOaONIqDFeo8fMuHsvSy6 OaGsfaimC3XElLQbCGyvCuuUbp6+vSK/oy4KRNHwMCC5neOnFNkMaxpEQpyVeDl/nRkK I42SD1oPkn6hX529+zjgP9iULmNrOKeqmYxB/7t7rZgVbMn5CfDIESNI4iCIrh+SQIno P/A4qzCs5OyUeXL3Kqp1r/KygW4feA4qgTccKrZ8bjcovc7vIwfBN9I4C9ToGcs0va/8 nnlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=gjpOEAuk50/8EAAFFEZtSuGlUycvtsiohDBCV2W4f20=; b=dvIGq+WNUoCG5vb0ByZa2OlD0ZpJAHMjU5LvvcK9EJAIiTgPUDsiLZslAzPGeqRfUo gx00lfJRrFqK4ucHFLIlTadngK5EZ1WKMQyE1TRF4TUpn6iEI4AvBa9RAvcrX9Mghq9T rF21q+7DmliXZhIHJPbkvKHoxqjCelktjSpa++P58szLkk20XUjYAgYVEK+cuXhHNWzt 5Pc/ICBeKzG8bh2eCNeqF2SURNuosiMVKJXZeJBSbRhJ1K0prNIrY36XO8YSMfUeWktr pOOpcb9vogRPCr7tVS7z34iWYH7t8HRPr8Sp81glrn0Hz6NQUR1khNGNKsj2Cv6LKlZ+ zbHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=mJwwPdCp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si687833pgs.302.2018.02.07.01.10.10; Wed, 07 Feb 2018 01:10:23 -0800 (PST) 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=@aruba.it header.s=a1 header.b=mJwwPdCp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753651AbeBGJJK (ORCPT + 99 others); Wed, 7 Feb 2018 04:09:10 -0500 Received: from smtpcmd14161.aruba.it ([62.149.156.161]:33391 "EHLO smtpcmd10101.aruba.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753476AbeBGJJG (ORCPT ); Wed, 7 Feb 2018 04:09:06 -0500 Received: from [192.168.1.28] ([79.11.8.219]) by smtpcmd14.ad.aruba.it with bizsmtp id 7l921x00S4jYgQn01l92Wz; Wed, 07 Feb 2018 10:09:02 +0100 Subject: Re: [PATCH] pps-gpio: implement echo pulses To: Lukas Senger Cc: linux-kernel@vger.kernel.org References: <20180206155856.14562-1-lukas@fridolin.com> From: Rodolfo Giometti Message-ID: Date: Wed, 7 Feb 2018 10:09:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180206155856.14562-1-lukas@fridolin.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1517994542; bh=gjpOEAuk50/8EAAFFEZtSuGlUycvtsiohDBCV2W4f20=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=mJwwPdCppAZ4qKDV9LG23QJvkJ7NzPZPmncXd/4ZLak+EhInn1/eYa7tjRHnIZEqG qJCWaT19Tbak9R0nM1Q3/s8HPcR/uW+NEkQho0RXwBg7/b3jYchvrJsPfN7n79X61n oLVUK4VcheZFn2pj00Vl4Wl89igTulPn5ESH8FbmtWtxmEjF/HOx5XteQa2Xb8HPGv vOX3rFJaKUxfmcKBoSvRNevqFz1xxXXK4M9qiFhouxAXMUcIrUXMaaxYIAvIdyyxV8 KCGQXyNC2BT1267H/clTWXoskoPFFwIyjP1AIuICeOwoeAkSKfMSvar5RpePEEf5jk YWiAN4BPFWFJQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/18 16:58, Lukas Senger wrote: > pps-gpio reports as having echo capability via sysfs, which is not > actually the case. This patch implements it. > > The output pin is hardcoded as 17. This should probably be configurable > via the dtoverlay in the same way as the input pin. No hardcoded stuff please! :-D However thank you for your tutorial code, maybe someone will find it very useful. Ciao, Rodolfo -- HCE Engineering e-mail: giometti@hce-engineering.it GNU/Linux Solutions giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Cosino Project - the quick prototyping embedded system - www.cosino.it Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it