Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1296882iob; Wed, 4 May 2022 20:18:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYSMVs+Zu4lbazuZTrJmrKgXI0bYrvYJKw9uDWd4sVk4UhYLM2BMTsEr5/TiXUyzZBcpZW X-Received: by 2002:a17:903:40cf:b0:15e:9bd0:2cab with SMTP id t15-20020a17090340cf00b0015e9bd02cabmr20300168pld.170.1651720700749; Wed, 04 May 2022 20:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651720700; cv=none; d=google.com; s=arc-20160816; b=q6f63OFwJIDuL9cHTJwWMyR2LDfkzghNLc3Z5NzYA7zG+duAS/6it/JXnU3RkBtLwE Owpg+013SmfIFd9XKJH+04t675w7vBUuHkoAN0KBoYziaZ1ByGwwkATNHECAiJF1BpdD 2hAUsDb7Jdg+1ZSq9x+1j3gHYF64NjjyrfWM1Q0rhlC3CkeDTgn1JRQEtN+ZFkzexPKJ 8bcsO6RaeILUgbXG67xcwWmUww9lL6uCxWjfMXmxNaSeXZGkkO849GKvMCFl3NJqrN3I BCS9usXQiRzDJle9vZCmLG/jR+u8JdOKmFloDwkXn1KLGV0sW/vgOuC3JSdwnIPkiF4s 1p7g== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dZgQ8Gu38ldoHrfSG/AkRIAJUBmfgWBQmmQGs+9K+jM=; b=a/Ef59QWF6neQsXvkN1QemuvIe9v5QYYptpZNO2FQT0l8qebHhUvbevyJD6+n0BhBl nWD0J7LOgXFz4GjEc7H610kjp+itHhy8cRbkpcpYti80NooSrGjTeouBJjDaN9yb8w0D SU3fqJNkn2LFNog3+ELNHPQ9/+b/xwryiIHm9ec4ss4OkT8jti2obMFZ2WeUFlDmgWks ck5pWpQ10Kx1fmeI4SqOhyYD9rRGGqyLxeOAyA/1j8oMuy0y6zlGB2NuggLZjaAOaRNC E5UMGUwAlAIdNQcM3KHJgZYzTv035nyOE8YR7wyZivjwMUOMoMxN2Q0QeUaO0NyAQk09 L3Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=azIP2rCe; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w13-20020a170902a70d00b00153b2d16631si503466plq.569.2022.05.04.20.18.04; Wed, 04 May 2022 20:18:20 -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=@kernel.org header.s=k20201202 header.b=azIP2rCe; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378356AbiEDUxA (ORCPT + 99 others); Wed, 4 May 2022 16:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235304AbiEDUw6 (ORCPT ); Wed, 4 May 2022 16:52:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 495904F9EE; Wed, 4 May 2022 13:49:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4E02DB82984; Wed, 4 May 2022 20:49:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 229DEC385A5; Wed, 4 May 2022 20:49:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651697357; bh=uAn1jx4nc/AyBKpUGArQO9zmKvmz3TirIiMxZEWuzcw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=azIP2rCeokqKbAzsWLeh/51f72I2r/dtxufFiQT1RPrFaPBYSqj/s5pkOUM5GmsQV nrQM+zGGqt4HRLNoTaaPKnVTVceTC+7XgOV4PkrmXeM4DkT9UaVUBlFHafejXpLhRY arLbbxLrx+rL0Q1WHeG2FHnKcBsN8OFkEgHRjhaqLNCyMeO2bybTg/lO8iUzwsjxfJ 2BfMNwBbm1EF1B6IXsbTgFNCyoq7p6yNtWJQYiAxKNgIyEFGPEKOCPNOW6n/v2uKmA YYChYKS8chwl6Dj0bV9jmrItxddT2tuFiF5Si96tvZF9eBBnePoKXHKqdq8tt+sJ53 D/FNXZ5sQxacA== Date: Wed, 4 May 2022 21:49:12 +0100 From: Mark Brown To: Zev Weiss Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , openbmc@lists.ozlabs.org Subject: Re: [PATCH 2/6] dt-bindings: regulator: Add reg-external-output binding Message-ID: References: <20220504065252.6955-1-zev@bewilderbeest.net> <20220504065252.6955-2-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="66W6v/kA9l7TTEWD" Content-Disposition: inline In-Reply-To: X-Cookie: Mother is the invention of necessity. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 --66W6v/kA9l7TTEWD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 04, 2022 at 01:33:58PM -0700, Zev Weiss wrote: > On Wed, May 04, 2022 at 05:55:53AM PDT, Mark Brown wrote: > > I think at a minimum anything like this would need some sort of > > representation of how the output physically appears so that people can > > work out how outputs are mapped to the hardware they see. > I don't quite understand what you're describing here -- could you elaborate > on what you mean by "how the output physically appears", and what that might > look like in a DT binding? For example if the output comes out on a socket then that socket should be described. > > However we > > already have a subsystem for external connectors - extcon. Perhaps this > > should be a regulator client in the extcon API? It's common for > > connectors to include some sort of power provision so it seems like this > > would fit right in. > Interesting -- I wasn't previously aware of the extcon subsystem, thanks for > the pointer. However, after looking at it a bit, I'm not sure I see how > it'd be applicable here, since it looks like it's built to handle hardware > that's at least sophisticated enough for software to tell whether or not > something's plugged in, which isn't the case here. The connector is just a > ground pin and +12VDC pin, no presence-detection mechanism or anything else. > Outside of the regulator itself there's really no "device" there for > software to talk to or otherwise interact with at all. Sure, but there's no reason why it can't scale down to something simpler. It's easier to support something simpler than have to extend to support something more complicated. --66W6v/kA9l7TTEWD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJy5sgACgkQJNaLcl1U h9B35Af+PHHkp2wfo6G66nqsy/m9SQn1PAVUGFZ0DrivXUKk7YOodvsS0HglBDu2 gkBV/c4Kdp3RrS3MYpqsGRRCdkRMiEO98WLKhnIW7LVqs4fB+BMi6TbFUyJX4IVS S86d8/3j97F7mA/EzmITT3naxTPMnym23r2wDfL1BTf7MuQGwRbchmQfwxArsz4c Vh+CbfhYTk4b7X4sG8AddkqRvRG0yuHtokGbIqBFOiPZbgulVrqWPPKLYgIzqYKY LTo2IeGwL5pRTtzfqNDNfWsMfFo879rPIzeOCUvzraToQRABMPanKEyP/LYI7eWA c9LJQhPk8fhLuDunH6clBkWd1m1CBg== =lUz7 -----END PGP SIGNATURE----- --66W6v/kA9l7TTEWD--