Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp11264ybl; Tue, 7 Jan 2020 01:04:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxZF3eA+Pcc9K6rALBY01yXVe6CN+fS3Te6JgUNPxaxvKiMYRZdG7MBEVo/QhI2AE6Cf/3n X-Received: by 2002:a9d:6a5a:: with SMTP id h26mr123812852otn.103.1578387889686; Tue, 07 Jan 2020 01:04:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578387889; cv=none; d=google.com; s=arc-20160816; b=ps5Bf+tRL/gexXxUv6F89ZOf5/rv4N2G2FJbzXDYcVJQbWPmgKeOAJ4fz1dbu2A/YF NmRGJatiWHH2gvGaxsH1XFAZeO6hEqkfG2pyWKUTc3ZfrDwibmSYiEcTk4ouKlTXrXyH mNzPjxwH8CgY5k8bzloZSSU/sJZx0IGyIGuj6vr4NJc8ebRYjMMgmAtO8JjPDxtHd1nZ BV5pDvlF2x+yzc8Y5OYZtFZIpoPz3mvLB39/hcdrcIKYGVI7OdJCgxCPnkpyyVGcsFb7 jkftrXzUGrzxl94UwsMUnvBTrXZUGN/hZPv+cTNniH/zjcPpfvZD2ZSRCta6nb5yFmeM WmDg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gj7J+/hEyeRK4BnoKtzoxr09YQuNhvHYUJt19aqFDpk=; b=y1Y4KOcfivPmpAwqhWlgr/N+hYP4n6c+YaqCFLXHZPtKA1HfAhCosFhHk/ZjzGbNkT 55jEMf9FRvM8h+toqTNBVdMzyXl45GFZpbK3h3mK2OImbOwXVG5GqQPw6aD4pck0TCH2 obSNPXTTwBpR17a+un9+EdBL2VXknjjWXnaHiJVS7+hl4JFYBGCFJcn7uJ2nLdhPG3Ri gbLjrMWKomoi/4QSE6edSM/5SLOx8jDc1xbkOKBeqBlqxz6n8zBU1pg7XbGlN4Jioq0q c91rz4VOF2rPvT5kpNUcQYt/VtZIM3YCTm0FCgUTZZHCcqrT/3gmfW01lvkxDM5F/68q k9nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=rCQ72smI; 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 k15si29252667oij.134.2020.01.07.01.04.37; Tue, 07 Jan 2020 01:04:49 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=rCQ72smI; 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 S1727680AbgAGJDj (ORCPT + 99 others); Tue, 7 Jan 2020 04:03:39 -0500 Received: from mail-io1-f51.google.com ([209.85.166.51]:33162 "EHLO mail-io1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbgAGJDj (ORCPT ); Tue, 7 Jan 2020 04:03:39 -0500 Received: by mail-io1-f51.google.com with SMTP id z8so51801338ioh.0 for ; Tue, 07 Jan 2020 01:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=gj7J+/hEyeRK4BnoKtzoxr09YQuNhvHYUJt19aqFDpk=; b=rCQ72smI0DeWhto4Sdmg+g3DY80KqgNn96Sod2Bue/c4qK+Y2AWvn1/SKK0jdm3uMy 4OWncNlPthi60+f6sTGrp8rrYPvKwtxNVE9q20Fone5ubfhDjcoDdqDxDEQToIC91W19 1MVc8vTRmZbJ50sao+hrdDQ6lVbXLTX/7vT5BJWxxIBEeAFbgdIfsd/GZdCMEtBd/9XW w/H6CWiDdCHqLtmpvq1SBiQSd6pm40ProtZ5QnDcHg1DjzsNfg/SH0EFcbZVvQ/7Uyww dtkSLL0pOjU3mdP9zeAlTeJT3ui9xN4Vqsimo4y4KrTLY/1HDnct8cCDJuH61tYEXyMC 9K4Q== 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:content-transfer-encoding; bh=gj7J+/hEyeRK4BnoKtzoxr09YQuNhvHYUJt19aqFDpk=; b=eeqOpeTKB+KAuq+DxIBAMJPIV1re6HdwgVxwrgcn5A1TnEqvCsgigzis6uXuwmZD9R vbnYHShsqBr3njXuP1nEx4ugz2uupwV1nh6dUh61bOwxJOkVjk70PcSm9m/FQ+qqR3ny CDQk2MWbNfDuCWmKUh67QlZ/77AxHXha6Q+2zxs7cFfrVLIo3rB1+3HGbaAtLhYUuwsH wx6NasIbDM9O3JTYxSchNKn9tcGaTvCsZe1tb8uaUuEy7hQyneW00Fv0GWQ5MIX2wNGV weXHfRnfydap40XVmgS4OH4IS5Jbfrlcq1vrOPR0meEgJHmW7wYpTUU+OJr0OcC6NfTm Bpuw== X-Gm-Message-State: APjAAAUTA1fpUDxjDjz0vOvoVfw0v3S3KnjP7q+o6MEEpAtutRVtRxsk 7bybV6WQyurlU0bALS7UEz0dHArHZZbmaMvclvorDQ== X-Received: by 2002:a6b:fb19:: with SMTP id h25mr72537201iog.40.1578387818317; Tue, 07 Jan 2020 01:03:38 -0800 (PST) MIME-Version: 1.0 References: <20191230133852.5890-1-geert+renesas@glider.be> In-Reply-To: From: Bartosz Golaszewski Date: Tue, 7 Jan 2020 10:03:27 +0100 Message-ID: Subject: Re: [PATCH/RFC 0/2] gpio: of: Add DT overlay support for GPIO hogs To: Geert Uytterhoeven Cc: Bartosz Golaszewski , Geert Uytterhoeven , Linus Walleij , Pantelis Antoniou , Frank Rowand , Rob Herring , Peter Ujfalusi , Chris Brandt , linux-gpio , linux-devicetree , Linux-Renesas , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 7 sty 2020 o 08:46 Geert Uytterhoeven napisa=C5= =82(a): > > I'm happy with a (static) GPIO hog. > > BTW, what exactly do you mean with "mux framework"? Pinctrl/pinmux? > No, I meant the multiplexer subsystem under drivers/mux. I thought we could call mux_control_select() from pm_runtime_get_*() or something similar. This is just an idea though, and I see Frank already did an in-depth analysis so never mind my comment. Bart