From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [IPv6:2a01:37:1000::53df:5f64:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66EB8D7E; Fri, 24 Nov 2023 00:43:33 -0800 (PST) Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id AA769300002AE; Fri, 24 Nov 2023 09:43:31 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 9CD151002F; Fri, 24 Nov 2023 09:43:31 +0100 (CET) Date: Fri, 24 Nov 2023 09:43:31 +0100 From: Lukas Wunner To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, Lino Sanfilippo Subject: Re: [PATCH 2/3] dt-bindings: tpm: Convert IBM vTPM bindings to DT schema Message-ID: <20231124084331.GA18424@wunner.de> References: <20231121161925.GD1845293-robh@kernel.org> Precedence: bulk X-Mailing-List: devicetree@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: <20231121161925.GD1845293-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) On Tue, Nov 21, 2023 at 09:19:25AM -0700, Rob Herring wrote: > On Tue, Nov 21, 2023 at 10:48:42AM +0100, Lukas Wunner wrote: > > +properties: > > + compatible: > > + enum: > > + - IBM,vtpm > > + - IBM,vtpm20 > > + > > + device_type: > > + description: > > + type of virtual device > > const: IBM,vtpm Hm, since IBM,vtpm20 is a valid compatible string, I'm guessing it's a valid device_type as well, so instead of a const I intend to use: device_type: description: type of virtual device enum: - IBM,vtpm - IBM,vtpm20 Thanks, Lukas