Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3286612rwd; Mon, 29 May 2023 08:14:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qWdthRBiBDTiS52c22PJzwvsaIaueEKOHfTMtc+7Z1nCds+HHwCXd1tTMf6+Q/9t19Q3b X-Received: by 2002:a17:902:e84b:b0:1b0:36b5:dd6c with SMTP id t11-20020a170902e84b00b001b036b5dd6cmr6434717plg.26.1685373251347; Mon, 29 May 2023 08:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685373251; cv=none; d=google.com; s=arc-20160816; b=QNI6FvPipURPL1LyeJSP+iKzIejj9DuMxVBaN4/MXKo65Sqi/eyTzoPCZbs+vBEzdH +z58JHFZ8TmP5s37HAe57OEpI9Jvc7aUzpQ6RrOBaYoL2+euz0fSE8CHesKpGD192jwu SI9GdWRaNt5NAGxKOO/ufBmNSh4VKi2L6nvbmpJnluksW0og5QMCXL9Qo04lgcv4HAdu /xPMDoqnCddqm9vMJpvFjjFHzLGBj4ZH9oqd5lopgrxNeR/ZgeW75QDqzDAL+cRtThXi ERDBKKt2flpSqtoB5s1XQl4CR4vTQln9F786NEiSyWbDT/51foIyNsiAc7E3woQGk0FZ huFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bVUwQzHP30Vg4mnAd3/C05krhQKpGJEL5ELBzTTg5EU=; b=e4qXfWSbU4DoQaKaaAPvOQ0PRcJuFlS1K1c66YDQ6rYet2yogPyP6lPvcApd1QPAPW eWrI8edQMZbkxer2uabQTaLfk+YFOVpjX8DNe8BmUOr50FtnzEd7P44wGlmKIat1KYYn wIBhzWp4jfFmYLmbjS2lfujhSfiAtb959t8kJfcgIXuieIbhgZcFeXK5EMvBMytwKyGV hqlH/XsRNtRqBUql3djFUZ6PurfPn2TUi3V1vPRh/66AjWW8eDSNQTxNpjxmbkvTuoXv 8C70w0QXK5sGGzF+HefZdECCnEIwRnoYcPBFqiI9Xr5t7m2e2erLhOz2DhvO+38XWOcW EO+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iYWiSRLJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a170902b59200b001992f451a28si3628144pls.384.2023.05.29.08.13.58; Mon, 29 May 2023 08:14:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iYWiSRLJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjE2PHO (ORCPT + 99 others); Mon, 29 May 2023 11:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjE2PHM (ORCPT ); Mon, 29 May 2023 11:07:12 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F34AE9F; Mon, 29 May 2023 08:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=bVUwQzHP30Vg4mnAd3/C05krhQKpGJEL5ELBzTTg5EU=; b=iY WiSRLJ85N1umBhkytgtspGtffQRJTDGzvLb+wyVNgfqHF/VkMCy4dSdZukzAcVlwxQvdzCjzFz85W eKor92aBor5iDE31gc0inl0ZLOk329Cd8svpe8OJUJGhX0NnPvcZG/TR3aNHCLJHAoRzRDKF1H83B 35y2vhwqftmpg38=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q3eSc-00EEl8-VU; Mon, 29 May 2023 17:07:02 +0200 Date: Mon, 29 May 2023 17:07:02 +0200 From: Andrew Lunn To: Linus Walleij Cc: Chris Packham , Andy Shevchenko , Kent Gibson , "brgl@bgdev.pl" , "johan@kernel.org" , "maz@kernel.org" , Ben Brown , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sebastian Reichel Subject: Re: [PATCH] gpiolib: Avoid side effects in gpio_is_visible() Message-ID: <8f05a48c-37dc-457c-a9f8-8c7428ceba9b@lunn.ch> References: <20230512042806.3438373-1-chris.packham@alliedtelesis.co.nz> <31a23398-9b0e-4a19-3576-84fcfd3ce4b5@alliedtelesis.co.nz> <604467c7-c5d6-38b1-be98-42c7da031416@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 29, 2023 at 11:19:02AM +0200, Linus Walleij wrote: > On Wed, May 17, 2023 at 11:30 PM Chris Packham > wrote: > > > > Why does the MCU have no in-kernel driver? > > > > There isn't any PoE PSE infrastructure in the kernel. I'm not really > > sure what it'd look like either as the hardware designs are all highly > > customized and often have very specialized requirements. Even the vendor > > reference boards tend to use the i2c userspace interface and punt > > everything to a specialist application. > > > > Of course if anyone is thinking about adding PoE PSE support in-kernel > > I'd be very keen to be involved. There is net/ethtool/pse-pd.c. Andrew