Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3337331pxa; Tue, 18 Aug 2020 12:34:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztv6eUT1eMywz7Mi6AiIfyyzzoGh//OkVRQ+8DMTvWIAGdok+Qhw7nzSzvoGUil3n9cJYP X-Received: by 2002:a17:906:1c0e:: with SMTP id k14mr21416672ejg.479.1597779262581; Tue, 18 Aug 2020 12:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597779262; cv=none; d=google.com; s=arc-20160816; b=jiDWNYIBYS7NqZG6kUmVMIKDwu/2YlZ6qGVd3E11Ti2NGazKTlyGbJAVRO/VYwJ1yr 9SntVgLblXZRtXIrdryWbVcZOMzfd2K9CEe/Mcf5qzAdl8d0DmPt+MrWK0VWHn4W2ZBP 4ar/Uzx4eughY6KqMaFmOGwbAabihDCy7gTpmk2yLhUw6IuSxqebWk8jSZDVmx11DAkX DS9JVd/JaFuL78iwd4jnIFWKJo7O2HGFzQnlHmFNx8WvGAPAcUHz3xneCEmT8m3jPjTd 02ULYmf7JKHNWBtvrscKHgr7ZfxM9vTnX/5J89SrlEdpLzPjjS9YYINyE0ch/CedPAi5 7NGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9v9LH57+IfNt2arroNdfPSnoAN0s5S5MCTGnfuBn1wA=; b=GdPE7lzkCBX7u8WhHlEiOkQKtriFM+Je78WLMaDMtKZ0FuTccxjktO2VRvX1fQCX79 lMfha2FR+OOnTDGaKoJGRLLE6bh9c50y2MnMJXlhWRo3uAs6MS8i6Uk4NUBR0ZdCJaK5 PJFXD9nyNVGs8YHooqIpQqgPjCje0hhUt1+e17i7673WJxan5Lv0Fv+l6DHWSSLroLbV Cid4UqBJlkW6u4Sc5X/eKjMeZtJAlM4y0E/IyqS1NLXSQWRNtH4ADdm1kuK3rpcGLCY5 C8uk8tl08u4iTKSeftJ8MAEuT+h9S/ofzv99gqIlvzYg0sbt48tdQfF5yvycY7Xjfrg8 KRlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=nID6AIEU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si13835410eje.234.2020.08.18.12.33.57; Tue, 18 Aug 2020 12:34:22 -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 header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=nID6AIEU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbgHRTdI (ORCPT + 99 others); Tue, 18 Aug 2020 15:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbgHRTdH (ORCPT ); Tue, 18 Aug 2020 15:33:07 -0400 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A805DC061389 for ; Tue, 18 Aug 2020 12:33:06 -0700 (PDT) Received: by mail-qk1-x742.google.com with SMTP id m7so19377182qki.12 for ; Tue, 18 Aug 2020 12:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9v9LH57+IfNt2arroNdfPSnoAN0s5S5MCTGnfuBn1wA=; b=nID6AIEUt87zPzVhsiu3zSRICoA8xdjdUmnpqUuhZDzIWO6fpU5q00kOORdeEDydV0 +1pLQ+SOk2QtbtINMc46qLvmcGM1oX7xQVeE4tKTgqjnbI97bt5nXaj3Pn50/TQKbicn k7xX/uH3VKdJSYOWA53667Lh1bTJhecRepgu6hdfDY82F8HAvs8z2LIcaB4KmW4sHUIW YI+DvsiBHpEJMk45qfUo6ORkvcTLbS8LW3wzMW0mgPGdrL42G/P1KOESfw3YI17x1H8w AhzC0mI1zxDM9k0tpzD3QhbMKbs+16pKxNr6z0aVI+DL8DZaiU2PNbO4j/dWtdWVP4FH LaoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9v9LH57+IfNt2arroNdfPSnoAN0s5S5MCTGnfuBn1wA=; b=s1kTiuKytx1mpOkuceCa1h3mpF7NYSioFhEJVRnUdFsLZJFrNh9iZouJUt4PC1OMWg dTfZ6/podtbbJwj5NGgRXHPZmI7bZjD5P/N01Ea5kG/mwgdPo6HFmluZ3QZmRwrE2ILE 61g9o3dhPXS87UF+XSq5i/4tz1qRiFATI/Y5nTXQ6c+13Q0DCcLRwGTJzZ6l5aEWi+t+ MhEhY8wnGq8UsyR3IBUIRJtVGUGOwTetKhBWtNWtDqlJ3ng1HCEL6zWJuu74usGyjtsn Z9VLVGQaRQ+hvZGrfEpDnx9Q9KF1epTuyu5O7O0aycI2j08WtOOMh6xjGTNoiLexdOSh 9uJg== X-Gm-Message-State: AOAM532EDrOmin5RC9v9LamaveSaB6bwu6jdBPIx283Bvubrmd5B6gf5 WmRb8IiENvtdsaRPuqJ/VA0Gzd14cLM72JaoLgvkDw== X-Received: by 2002:a37:a495:: with SMTP id n143mr19052701qke.330.1597779185970; Tue, 18 Aug 2020 12:33:05 -0700 (PDT) MIME-Version: 1.0 References: <20200814194847.3171-1-olek2@wp.pl> In-Reply-To: <20200814194847.3171-1-olek2@wp.pl> From: Bartosz Golaszewski Date: Tue, 18 Aug 2020 21:32:55 +0200 Message-ID: Subject: Re: [PATCH] gpio: stp-xway: automatically drive GPHY leds on ar10 and grx390 To: Aleksander Jan Bajkowski Cc: linux-gpio , LKML , linux-mips@vger.kernel.org, Linus Walleij , John Crispin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2020 at 9:49 PM Aleksander Jan Bajkowski wrote: > > Ar10 (xr300) has 3 and grx390 (xrx330) has 4 built-in GPHY. PHY LEDs are > connected via STP. STP is a peripheral controller used to drive external > shift register cascades. The hardware is able to allow the GPHY to drive > some GPIO of the cascade automatically.This patch allows for this on ar10 > and grx390. > > Tested on D-Link DWR-966 with OpenWRT. > > Signed-off-by: Aleksander Jan Bajkowski > --- Queued for v5.10, thanks! Bartosz