Received: by 10.223.185.116 with SMTP id b49csp1040034wrg; Wed, 21 Feb 2018 11:02:19 -0800 (PST) X-Google-Smtp-Source: AH8x226HK6PQjkQIwoANOVRYcZtUWCq1ha1jDI+A+AcN3Ojn9ovWr5NuQYVmyU0MEhTaYsG3pqdo X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr3962720pla.194.1519239739547; Wed, 21 Feb 2018 11:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239739; cv=none; d=google.com; s=arc-20160816; b=tokJtkXnDRrXFj1cclTuNNL+w7c6IxMgLgJATi1g70yxD5ORoZscsJ93MUjIx3r1v4 EMPwpkFPYElJkY5DCJbx/JKop3PF6mswBRG5OVQpyUy6UsXM2chIM1smB/OWG13drQ8F wF5422i9PabdUTD7msnF+Lrv6379icZNed0ZwYPhqfqUvXZQn2fjoSwqc5qTxcoT3GPd z8RRQ6oQMIv9/jha6OBEzuYkZc1PM2y+iVr/Nj6DCDPkRDQDfzGAMfWLT1nFHBxUMfT0 gv2PYVarp+VyDzElryHRnPJvJctJhnWQi/dgDEVQ/a5VjfyFUKNXytQrqGTTs7HD3jds O+uQ== 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:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=tH3lH2qhtjRqfwr2JL3GXbPGNVXC1ajYgdx0uhDcUkk=; b=OKG/6NUc+R2Rb5hZZj+6dt0nSCL9t9MNwZ+hTU0JmCPjxEwn0z8wcKwbS/zpyRdeT4 T/SV9i6toOs4xHi3vOYAUDD42gBJnytrXhSyI6+UouYHIJedb5PauxdHS9x3P9acjs/Z 1cOLvgunlN8rNbPL9DaTmOwKbqvyQENgf78neyWqFqtxUH+IlFHz1u05SGdUqrlEmcs+ O5g7WSdtthytcs0hsnd0IORU9kvyS3htshOetKQxwqCnRdvNsNHWf8ndxH8KIo3zgSGK Uj0DiuGbk4CYWj70wYxQ6abLJpt9Km6xqranVGHiucdHUyyjIaTD22gGileL8rZEBhXa FcZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LuGWnx+g; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si179423pgt.354.2018.02.21.11.02.03; Wed, 21 Feb 2018 11:02:19 -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=@gmail.com header.s=20161025 header.b=LuGWnx+g; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964868AbeBUQUV (ORCPT + 99 others); Wed, 21 Feb 2018 11:20:21 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:43152 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753851AbeBUQUT (ORCPT ); Wed, 21 Feb 2018 11:20:19 -0500 Received: by mail-lf0-f68.google.com with SMTP id q69so3150069lfi.10; Wed, 21 Feb 2018 08:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tH3lH2qhtjRqfwr2JL3GXbPGNVXC1ajYgdx0uhDcUkk=; b=LuGWnx+ghXaoO0xF/y+Pqbm6LKpX0j+3ZXO1I+1ZkTWr7YyHq9IldSpJbY/EnKX5Mc +eFgTsq37g2LQBj8IpPwU5T+L/K6sfIZPLF4/T+9TZ0HU2pS+pZZMxMxJu21iZDNs6Gg 4qKxp9S2Op3Yx6rr23nsR6Ix5jGG4P83uyuoV9vEvoNUx7aYb2kLyvLROI4RonKhF9x8 CvKHyoowjJfbRBasX97BKJ9Lo5W1UWwpwpdLrE3vLsUtyf1Z8qCrAWhUMY3J1KTugVjm oxxibKPzFqxWCa65GHloIBEUXq2J7oSF44B1uyLJeAQgB/uIqBFltzqEO4gSVWlz2MwM Wqcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tH3lH2qhtjRqfwr2JL3GXbPGNVXC1ajYgdx0uhDcUkk=; b=pHsOYJQxicx+u9TcjZb85prl2WU2A6wKxyMMmDUyKhAzB0SiB7NX8JMVdNDOilRkmU KFd0CkuuRt7gNMxY5i0nN/Z8lD+hkJrAVIw8OemLzcHqirtQFbHWn7dR+CPzoQ3wkmfA xUk9JInmopgk0aDLWAaYa5KdpOqINVrLU2vrO1CIl5RMpaZUR1mqXQS8r4VdI2CAqGNm RFwI+owpDL3jIQ6ds3Cw9xjSlMEPLvHI6X9BvDQnWg6K+9+Nc9qdEFcePy0WNUL94ya+ cmJiChelKmRdeoMKHMLLEnm+Ve3LKcZ/X/M5yef3RHJa+DkpNd5kyeiLe0ktbPN8JENX 2Dsw== X-Gm-Message-State: APf1xPBG6JZOsGq1PjVEHErf2lzf3CKigr73xZUKpDK1zL74RH2bC0E4 qzoVuBh+ffN+dcZUK7pE30Qo0k+w X-Received: by 10.25.178.207 with SMTP id t76mr3002367lfk.111.1519230017520; Wed, 21 Feb 2018 08:20:17 -0800 (PST) Received: from [10.10.10.10] (155-133-15-140.interka.pl. [155.133.15.140]) by smtp.gmail.com with ESMTPSA id h39sm3265580lfi.38.2018.02.21.08.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 08:20:16 -0800 (PST) Subject: Re: [PATCH] ARM: dtc: tegra: enable front panel leds in TrimSlice To: Stephen Warren Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20180219201623.6987-1-tmn505@gmail.com> <57945bd2-d8c2-f7bc-f01f-29d679762446@wwwdotorg.org> From: Tomasz Maciej Nowak Message-ID: <873b01dc-3ca5-3151-2654-a8272cb9dd88@gmail.com> Date: Wed, 21 Feb 2018 17:20:14 +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: <57945bd2-d8c2-f7bc-f01f-29d679762446@wwwdotorg.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: pl-PL Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org W dniu 20.02.2018 o 20:55, Stephen Warren pisze: > On 02/19/2018 01:16 PM, Tomasz Maciej Nowak wrote: >> Adds device nodes for two front panel LEDs. > > Why do you need to change the pinmux settings? Configuring a pin as a > GPIO should override any pinmux special function selection and hence > make it irrelevant, so I don't think you should need to change the pinmux. At first I did exactly that without changing the pinmux, but the LEDs didn't light up. After that I compared with CompuLab source tree [1]. The pinmux was specified as in my patch. With this change the LEDs are fully functional. 1. https://gitorious.org/trimslice-kernel/trimslice-kernel?p=trimslice-kernel:trimslice-kernel.git;a=blob;f=arch/arm/mach-tegra/board-trimslice-pinmux.c;h=cc6d5225d97eb9327c820bf1d5b2bc16ab8c6dda;hb=d25bf45d6314089489b30d218ed8a0d6d94417f9#l45 -- Tomek