Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp122911lqp; Sat, 8 Jun 2024 08:36:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFRo6kd4AmwFmBz1Cp96kWL8wxPbAEVN9cKjHeXWR2ibvo8Kx5QoCVg5c6v8QkfUEsljsdyp7AcRbMEnzet9AOLGlUvyXx8a1SifgpNw== X-Google-Smtp-Source: AGHT+IE/mw5VQKXTZLqm78d50XRurdgXno3FhvpyMxPK113vEBHoJ0bsm/szPus/RkKSWqFWAKah X-Received: by 2002:a17:906:aac7:b0:a6f:1166:1b86 with SMTP id a640c23a62f3a-a6f11661c07mr27855166b.53.1717861016973; Sat, 08 Jun 2024 08:36:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717861016; cv=pass; d=google.com; s=arc-20160816; b=PfD8+KdSyeNynxDbqavWJiV6nYnxBM2gEe4xsKu9g/TqeDpqYHDrqSdKR6NT7ViK14 Scw1Z0NX6hXvAro3awTOmJjDSTSwBY+6JvjmXa1I5Z/nqWLlFN90RpFhzpYVz4mG1uuF rW73+xQX6M2Qwsce1sR+p91+S49Ss8pcifHYtJsg1yW+LP87Hj7hcXjpoxJ04Gl6atQl qakPPXRYWdtDjuS5OipisfwGBwYEHlKq6fZFH5xV6tcz6f+PKoxh00HXb45hmTA7Aoak fs1QugVTIyfneu5V2Cd498adi11MygLJMJlRIT+glUBzHTpIBuXrdzQkHy/cmHihMeqg CgXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1aSPPM3uPfvDbIw3h+k7ekyHrpJY2m2A4ytIpxOKkOo=; fh=Sng1/Izh4g9xSUlWvAkQnXeNOQOtTq20I9r2t+GJUbU=; b=UPBAu8hYhRSAjEhLEGCRzDh5VBslYOXvxahfWeuxYtMUIYrMtsHbofMY36Afg7IZ7A CgfYSyLoMVGTzwflVSINe6FtGIXnFBC4zyDOxBQK2fEWkxu5dWVd9/Sr+M7pM337zHCv Zww42Mcq2KUiB+IIQwoE/wlX5biXxlnk+ibM82jDgiSEWKJLTFRgHHgieKQ9j8TZQPP7 Nd5KSFzC3GRYvTTZ7Jj+NcwUO7ziQwX8Bh4mBw5qF52C/O5LOOORPboHBFAKia5M6lai iVDlzuDupdDhAv4DhMqWvRsulvv4Kl5i/GGLNj8aPawZGbkHxUQK9z9lpSUEUgiuG0NP Ib6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V8t8n9g3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207098-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6dff12f20asi168736066b.874.2024.06.08.08.36.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 08:36:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207098-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V8t8n9g3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207098-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ADDAF1F21EE3 for ; Sat, 8 Jun 2024 15:36:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F5B0179663; Sat, 8 Jun 2024 15:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V8t8n9g3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C042524C4; Sat, 8 Jun 2024 15:36:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717860999; cv=none; b=cgOUdC1Jm7HkBphHxmBsd9pIx2ICJk/WCv8bD9tUpRzAGTnbJ/c4hY+r8jdFGeUsJZzFDd3xv4mpZznasMKbsX6Z3bvfZ4HLemF/1EPvxk6CixDvi6EywINBMFsB6iwuQa/6xrsLc8+yEeMDhZCHWEUy7VZtdcMZeqVDSEOJqr4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717860999; c=relaxed/simple; bh=Lxc8FIGJH9AbsQK8+T8lqmbchM2MCKBlEd2TlFucpn0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hgBtnkOOBBP5500M3KbB85bkAz3iRen6IvvK90teKhWlpaCqDmnwrSHbbJFiaMbWlRt6iLtud50HfYxXTMyjGr6CoDNGHdbgjWN+xzTH/wA0a5XPkugzV9Y2xw4nvF0DQ02xmlIB6R6ZuS5xD0HFe6NuaZGGirYwCcm+tP5YlTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V8t8n9g3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B181CC2BD11; Sat, 8 Jun 2024 15:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717860998; bh=Lxc8FIGJH9AbsQK8+T8lqmbchM2MCKBlEd2TlFucpn0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V8t8n9g3DdnQi6HbzO99CllgnRPCHO0UOdTLP5gY5Pq+6sCOXhFY0hQt145+myUW6 YmU+QPW0vYuZui7LIgfsGPgdc/CwUyKUtCZQZI/i9h7UEUDfjmILlM/J6lenoCUt9a vUEaES8V4EXvJjBNcUy6HBiLwl867JiPQbeUILCQv9CyzKKhoWeK2usEJwHI/Du2eV op8s/I6Nf+es87msb+9JE0LoSol1gxnVh3qRXABJYKsRH8jmiSuhJ3ETRtCfrpztSC eboKEQcXox59QbCdMfdF4QzTs/+DtwFozsipP4+9u3ZSUx/CNDvkKiKHGixK8DjzP3 HciYNAy4c2ofg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sFy7Q-0000000034R-2FCt; Sat, 08 Jun 2024 17:36:37 +0200 Date: Sat, 8 Jun 2024 17:36:36 +0200 From: Johan Hovold To: Dmitry Baryshkov Cc: Johan Hovold , Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Stephen Boyd , Bryan O'Donoghue , Andy Shevchenko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 11/14] dt-bindings: mfd: pm8008: rework binding Message-ID: References: <20240529162958.18081-1-johan+linaro@kernel.org> <20240529162958.18081-12-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jun 05, 2024 at 11:43:16AM +0300, Dmitry Baryshkov wrote: > On Wed, May 29, 2024 at 06:29:55PM +0200, Johan Hovold wrote: > > Rework the pm8008 binding by dropping internal details like register > > offsets and interrupts and by adding the missing regulator and > > temperature alarm properties. > > > > Note that child nodes are still used for pinctrl and regulator > > configuration. > > > > Also note that the pinctrl state definition will be extended later and > > could eventually also be shared with other PMICs (e.g. by breaking out > > bits of qcom,pmic-gpio.yaml). > > Obviously we want to adapt this style of bindings for the other PMICs > too. My main concern here are PMICs which have two kinds of controlled > pins: GPIOs and MPPs. With the existing bindings style those are > declared as two subdevices. What would be your suggested way to support > MPPs with the proposed kind of bindings? As far as I understand newer PMICs do not have MPP blocks and we do not necessarily want to convert the existing bindings. That said, if there is ever a need to describe two separate gpio blocks this can, for example, be done using subnodes on those PMICs. Johan