Received: by 10.223.185.116 with SMTP id b49csp2303444wrg; Thu, 15 Feb 2018 09:31:21 -0800 (PST) X-Google-Smtp-Source: AH8x226JDEhic2WeqaI0eAlteCD+cxypVs8Bq5g6MaKPj3qkwq13gBjDmKKWavdtcNP2AIpylk3V X-Received: by 2002:a17:902:2881:: with SMTP id f1-v6mr3132658plb.439.1518715881662; Thu, 15 Feb 2018 09:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518715881; cv=none; d=google.com; s=arc-20160816; b=YFRLiTCDMjzZsVtKb/41nuap56oZjRccp0tSKtP2h9buoQs9YxudZfZqf5n9QC5ebu woUoNBpHDJohBIVp88YfEf9/8MQ79VqkzTFabxgN9v+d2dOBHrH3MRdZeGhK57nJ/DDM SrmurGridY60KQtm98X+zwzXB51+dQGpSg4ef6E1JbInewcJvZnhig4IhHTvXGNwBCv6 eyWL93Tu29/w6OJmnxULAVQAj9tVuOJpSNyihhMtEOy2G6edmyaOCTFjVr0LOFFLk6nB MBeQY5KKML4Q2z7zEwYKjwC5G80ogam+Ml/0BDQ95uxnZ/mcHDT1rr461+OXTZKM2mDu UF8Q== 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=DaFfGLLOjyPt0wUTUXJrywLSw08Vny13obdhpk4VGj8=; b=XHddl1qm5h+m3l+koE+0wv/Mw4N5mM2+YyFMijguGP6e4Sd2pDkm92vy0u+MYk5Y5y 0waIpYQVL2jkdQkHlX6JuI/66qf4R5KqA7+RrE9lWCoYrPbm/IUBh53BqsyFch/ECmf9 9VN8DdXEtuKq5u3/wsd3WhgiP0amQhOH3mrYtwmoLSmhAsZYFXuqHUGtWsLBRzi48ofw Zd1mYzAnvW7awDguoJUiXXdAEL4EBvBirp78rG4vJ3zqqwo1OBoddwqvTYaq6+r51+Wv zcyaF5pLq0fB3YoeaYBz6RysoQeIj88ztdklV1v+G0ekC++FZ4bTlDZmYiM3kylgTwVV r+/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=XperzH14; 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 g22si29690pfe.387.2018.02.15.09.31.06; Thu, 15 Feb 2018 09:31:21 -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=XperzH14; 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 S1165169AbeBOR35 (ORCPT + 99 others); Thu, 15 Feb 2018 12:29:57 -0500 Received: from smtpweb130.aruba.it ([62.149.158.130]:50357 "EHLO smtpweb130.aruba.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164931AbeBOPds (ORCPT ); Thu, 15 Feb 2018 10:33:48 -0500 Received: from [192.168.1.7] ([93.146.66.165]) by smtpcmd03.ad.aruba.it with bizsmtp id B3Zm1x00P3Zw7e5013ZmRV; Thu, 15 Feb 2018 16:33:46 +0100 Subject: Re: [PATCH 2/2] pps-gpio: Set echo GPIO pin via devicetree To: Lukas Senger Cc: linux-kernel@vger.kernel.org References: <20180215125921.29494-1-lukas@fridolin.com> <20180215125921.29494-3-lukas@fridolin.com> <20180215160845.72da12c3@dinghy.localdomain> From: Rodolfo Giometti Message-ID: <1b0b8c09-340b-19a8-f1ac-c9e02803e88f@enneenne.com> Date: Thu, 15 Feb 2018 16:33:46 +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: <20180215160845.72da12c3@dinghy.localdomain> 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=1518708826; bh=DaFfGLLOjyPt0wUTUXJrywLSw08Vny13obdhpk4VGj8=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=XperzH14LcIP5KT7BIiVFIaQWQgWFM7e3kCwFiP73NLAKWsN0mXeQ58H6EYu97fpC jXME0savoIvVkyUZKGM6WwxqnM2y1l4tswy5E2TlBp/JRryJJblf4do0xYsaVCAzIg VGBhs6llprrxES2+NVAyiV/qG0H2nbwqOssPaJoXphPkfFkQ6r86oGjgFRl6kuJgrb o+nSXMEYOTd+0ckwJuHs0AcaMi0DkekwsL+38eGkNyay4XpVxg4JtXsSd37SFtGGa9 xNfCV8AVlD4SR9bbJBf9Gp8OZ8kJRBZkT2GIr3zFrf5lSVxmd73vkDl6HMPesmiYQt SgeUGcxBMYaVA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/02/18 16:08, Lukas Senger wrote: >>> @@ -20,18 +21,20 @@ >>> target = <&gpio>; >>> __overlay__ { >>> pps_pins: pps_pins@12 { >>> - brcm,pins = <18>; >>> - brcm,function = <0>; // in >>> - brcm,pull = <0>; // off >>> + brcm,pins = <18 17>; >>> + brcm,function = <0 1>; // in >>> out >>> + brcm,pull = <0 0>; // off >>> off >> >> These modifications are not PPS related. >> >>> }; >>> }; >>> }; >>> >>> __overrides__ { >>> - gpiopin = <&pps>,"gpios:4", >>> + gpiopin = <&pps>,"in-gpios:4", >>> <&pps>,"reg:0", >>> <&pps_pins>,"brcm,pins:0", >>> <&pps_pins>,"reg:0"; >>> + echopin = <&pps>,"out-gpios:4", >>> + <&pps_pins>,"brcm,pins:4"; >> >> Ditto. > > I don't understand why these modifications are unrelated. Especially > the echopin-option should exist, shouldn't it? These modifications are needed to define a custom instance of a PPS device which is not part of the PPS subtree, that's why they should be put into another patch. 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