Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7157193ybi; Mon, 8 Jul 2019 15:48:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvn0yc2mduhpubyeuqLX1EEUS+s9tcD7IMQ91AcNVKfNSWXoKRBKpaYq+b6H1gpxoDnoa8 X-Received: by 2002:a17:90a:3590:: with SMTP id r16mr28971309pjb.44.1562626116258; Mon, 08 Jul 2019 15:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562626116; cv=none; d=google.com; s=arc-20160816; b=WkmtZtY+pK2Hj/EOxn5V/Opf4H5Ox+7y9d6v+U7MOtfFmyKYNJNbcwYbCFL8pjp5yU zz29EKB7Ue9ty6C9ATnXagQbh8573l6MGmL44xGtcOXhmikxU/c7UnOEN7NMH4JOUsIr T2rL1ds9MkGgnlz0wZE/26qCvOIP9/dNG/LLqGXdDW6QfrVQ8siNbBFdt0X9yHYQ6BSQ Q0GgBJPqsGG3S9MwSVZkrqk/QpIrVVeZqxFz8X/sDBUFXjq1bpHFt/XHy8L4mY6rRFml GGWK4r8OaKLnCDKdNXUq1A4KOmWzHdkXBWr9nTyeG27dnZYYDGkn3QD9XiA3GnRskbu2 I/zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=p/PEnwXAxLJ+HKYhbadPFbxq8i9vxwsJP1ot6SeEfqE=; b=XME5iVLbdNw6ouNGc8dYr+5phlOHQWRTF5roN/8LHr3pIqAnAqgRG19i+DHWZWI90o Bv8JWyl+fu3w4GX+oiAnOn6GKKnXrPifiy5PT78rT0wCf8x3C3ud7xhDkaOl3nPjrAtE ZqxTLoyQaI7f67olEVLtOmOSNYsPUwfxJR7Gp1MPhbA36HVD51clnYI5RqOcZlh7Tlt8 PksNemlUECBpfuncX+WTg7jHW+N3HLESEkWY9b9yQCsTSJvpGpe4Kqrs3LJT1vkR1iB8 Dawo0UzrcAj+6uwpFblEcu41LvGxgj8CoUEhgAEiqquF8/51fr9sv0aeowFSbT2aO053 arYw== ARC-Authentication-Results: i=1; mx.google.com; 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 c127si20391402pfc.191.2019.07.08.15.48.22; Mon, 08 Jul 2019 15:48:36 -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; 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 S2404154AbfGHTm5 (ORCPT + 99 others); Mon, 8 Jul 2019 15:42:57 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:57057 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729234AbfGHTm5 (ORCPT ); Mon, 8 Jul 2019 15:42:57 -0400 Received: from [192.168.1.110] ([95.117.164.184]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MhWx1-1iNC0G2kWh-00eaLR; Mon, 08 Jul 2019 21:42:51 +0200 Subject: Re: [PATCH 2/3] platform/x86/pcengines-apuv2: add legacy leds gpio definitions To: Florian Eckert , Eckert.Florian@googlemail.com, info@metux.net, dvhart@infradead.org, andy@infradead.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190704090205.19400-1-fe@dev.tdt.de> <20190704090205.19400-3-fe@dev.tdt.de> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: Date: Mon, 8 Jul 2019 21:42:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190704090205.19400-3-fe@dev.tdt.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:8UZAoJ2cnJMqsaXzPuCfWX34iwNktO9clHcK5ez3G4Lz5QLzADM u7tdBR/4I1Cop5m78CVcWhFaouOb/q+7II0Dv1bJ+cDY31Rz27oFaf5d/rkf1LIkHcVjsKg E/O6pzJOl0UQhMIwcqBYqOWxHt1DG45crj1KLS4fDc2TnycYLfyvQlEf/sWzunSeRtFXM6v 9Pa57Gl3Dz/xK24eA1YZw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5UuROpRbtSY=:EvjEmtQOhMZt+Q0DzmDf8Y lk2IJZQGbxEnREjwdyk/tSbprkVbi3OeYPuUIZZVFAUG5G0B7RJk6ed5tNnnX1Etos9J8zxzc wFCP0XO0VIEF1BX6PIVrJ9R8xKzcB1r+7hRuae9l6vVbHCQnfxfv4vy0rmP7aPdF5Ee/K8eyg ZeITjDNUS5p2F37n52NgMWqo+Z+Zb+IGyzf0zEC8m8Ltyw7N5TLmyekogU0zVJb4FsiKFQEhl B6GnEVhb8qOES+SHpTvtD/7KATkEaxk0ux29DjzInlK96VEyfu6ZvhCy/U/WdL+TXBkSIiLuO 3OgpHtU4oecEFWM/GxC/NMN6O+9Ic1XadxuWOmN3L5EsceCVnmFVMBjKuy19KDL4k4+G4T/5C 32Uy0PoXytVk+nNyXYydzT1vJo4/MQ1Mijz0lZqSXh4GdZmxCGMbtmHg8YkxNqdq4YBjg4MJX 11DzuNJ93Gg4IMr8ZpOuERE01gfipEbyiTIX7r/AlurjjWAmF+Y+tVx2OYswCJQx1j7Jysiz7 2fYcqS6jzYinrHtHbxbdBXUuAM4hNQXmFnPpXwqBJJE+YJvRZR0ZvmC3fI8WkZMT8yVTuuftN 6xithG9mqjhoEhojlOsKv0DHdzQND80iIiiffs5nduv/uYujcV8okQGMJ0Fjpt2j3V+zA2orS 7gosZz1l1PpoY+wERuqTr04W/u1GD5Mm0tSE9f7Q1nKSKGSvV/gEba659DNICfGi+dIWs32TU W8KhevZqIBoFe3RnbM6C5Zg3NZGyDnY6WvzaPwNremMgNv/rxpOt/K1bEh4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04.07.19 11:02, Florian Eckert wrote: > Extend the apu2_leds definition to make the leds exportable via the > legacy gpio subsystem. What for ? The gpios are bound to LED devices as that's exactly what they are: LEDs. > Without this change the leds are not visible > under "/sys/class/leds" and could not be configured. How so ? (I'm using exactly that all the day ...) --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287