Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp756221iog; Wed, 29 Jun 2022 09:32:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vknzBdldMU0wFL6eC42gDoumzbXwUeWz2iaNXl33LJXUPjbsI6s4qkeZhblu0//HWr7i+Z X-Received: by 2002:a05:6402:f1b:b0:436:d3c4:aef2 with SMTP id i27-20020a0564020f1b00b00436d3c4aef2mr5491557eda.27.1656520328611; Wed, 29 Jun 2022 09:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656520328; cv=none; d=google.com; s=arc-20160816; b=lOT2P5rxyXBVmdX+FbsP8Lnrw2z/wA8zUuiatEgewobJ/3da3z9OnythyyxTZWDVip z8sbATRkp/xBtT20Rc3QwjC6q8YNTrCGFj+r0WWQediLm885/H8MXqLwkKdZGAEpZKBD jHWL4wxbnPPDc9+nSdEQxrwRYLSHyzD9ZeZy2NXEOjQDiA0o5aSmAD8cHBBhfaWKxkvq B3sqsi6aG/Bl2UqYXj0G/S98ySAFNlXXmDzEDIWBs/b7K82AGY/BT3xhAPv+o0NoC7MJ sXJaZq5J5g5RVyTvaHPk4k3W25K9HjkedFeEDKhT9j7NtgMlmnMe3dnotAf2krebxNCN 86Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5gILGpZvBfigohgB5+Znt51qHSrgPjV9+VY5EUvrBCo=; b=f5trXCCsw0dn/T9PMIqMp7ipdTmRDSqbVypfRv5SUfUDsvD3InEvPLCTr7n4N9gsbd bDDpTh3pyYLiP14RMRqx44Ojxv19pT4EtVSi5yWViaaCQc8zMasjDmSW6oqzwBJc/Bwt ArjDLo5qIU5aNU1cucQNHp1blkM9cmzFWAMFDZ10TmsbctJ466WWLgiOSWvaWR02d8hV RKflcYpiUFHvw92VjAo7jc7TRzycLpmUgwNG/tdfMSays3JRUwby0nlu7Eq4tnbgywtE rUdvbhBPMLSQjjf+y/JeYb9kBN7LCiTVZeNFO2X55gr/zFzhdCMp00vllQXPOqMLVP45 24jA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds8-20020a170907724800b00711988b5919si7078433ejc.810.2022.06.29.09.31.41; Wed, 29 Jun 2022 09:32:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231722AbiF2QVR (ORCPT + 99 others); Wed, 29 Jun 2022 12:21:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbiF2QVQ (ORCPT ); Wed, 29 Jun 2022 12:21:16 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CB37A34BB9; Wed, 29 Jun 2022 09:21:15 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 25TGD56V017150; Wed, 29 Jun 2022 11:13:05 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 25TGD3U2017144; Wed, 29 Jun 2022 11:13:03 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Wed, 29 Jun 2022 11:13:03 -0500 From: Segher Boessenkool To: Krzysztof Kozlowski Cc: Ash Logan , krzysztof.kozlowski+dt@linaro.org, paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, robh+dt@kernel.org, benh@kernel.crashing.org, devicetree@vger.kernel.org, linkmauve@linkmauve.fr, linux-kernel@vger.kernel.org, rw-r-r-0644@protonmail.com, joel@jms.id.au, linuxppc-dev@lists.ozlabs.org, j.ne@posteo.net Subject: Re: [PATCH v3 02/12] powerpc: wiiu: device tree Message-ID: <20220629161302.GG25951@gate.crashing.org> References: <20220622131037.57604-1-ash@heyquark.com> <20220628133144.142185-1-ash@heyquark.com> <20220628133144.142185-3-ash@heyquark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Wed, Jun 29, 2022 at 11:58:18AM +0200, Krzysztof Kozlowski wrote: > On 28/06/2022 15:31, Ash Logan wrote: > > + model = "nintendo,wiiu"; > > It's not compatible, but user-visible string, e.g. "Nintendo Wii U" The "model" property in OF is documented as: --- “model” S Standard property name to define a manufacturer’s model number. prop-encoded-array: Text string, encoded with encode-string. A manufacturer-dependent string that generally specifies the model name and number (including revision level) for this device. The format of the text string is arbitrary, although in conventional usage the string begins with the name of the device’s manufacturer as with the “name” property. Although there is no standard interpretation for the value of the “model” property, a specific device driver might use it to learn, for instance, the revision level of its particular device. See also: property, model. Used as: " XYZCO,1416-02" encode-string " model" property --- > > + cpus { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + /* TODO: Add SMP */ > > + PowerPC,espresso@0 { > > Node name should be generic, so "cpu". Unless something needs the > specific node name? This is how most other PowerPC firmwares do it. The PowerPC processor binding is older than the generic naming practice, so CPU nodes have device_type "cpu" instead. This is a required property btw, with that value. (There is no requirement on the names of the CPU nodes). There is no added value in generic naming for CPU nodes anyway, since you just find them as the children of the "/cpus" node :-) Segher