Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3636933rwb; Tue, 8 Nov 2022 06:50:43 -0800 (PST) X-Google-Smtp-Source: AMsMyM72cdttf4iFysggo2yUSioV8I3tplTuTfMkJfg9j1WvayYCdxhKjcoCxLW8r3bGKVxeOCM5 X-Received: by 2002:a17:906:8a57:b0:7ad:69fb:3a with SMTP id gx23-20020a1709068a5700b007ad69fb003amr51955837ejc.179.1667919043059; Tue, 08 Nov 2022 06:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667919043; cv=none; d=google.com; s=arc-20160816; b=kBzYQS9FQneTEGyNeeEyF2555hTVzOIiU3S3fN97/UpLcNhEG1IiV+Z0WfmBNTjlBC vNc4MM3DjuxHDyN85a+Qx2xxfy460sdTs2B7KSr1pT+fzAzf2JValpdawQ3+2g5IFqUd 9SAv/4qsNDAlY4Xhgj5QnrXkTqcIB+myKi4aZHXQ2gfCvaJz2bxyQvBQmfmoMOkJbsZ/ DLxrUGwy2w5XhnK3JUpIzKlonZwBk0x1aWGcGHYJkI9yt0fCWiBnWGQLAmGNmfeB1eb+ aGhKvWOkt5R8g1LytMfHPtFBrMf93+gWziqj2Gh1EKlCtPZQV3pjpvMW4LEbDxNG7zN3 ILpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Nw4wnADCphzn7UrjpBe/9fgCIJ+TkPE2CLrXHr39+lc=; b=b0acH/G+4FJA0Mo3TQpZQAgFhbbCJ/OL41MMyPRdabyUekrJugV/XVC9mMViNA4D03 8gNT7EaF965M34TSy6egpVaskg4KFa/w5Sv9R54nMx1PIUAdyoI22dLnqbfB5hulnSXK 0aeJpXW6Wc53I9ScyaCBy6WfcX+37KHUm5xS0Ia/1hmEUlmPbfPEWUi650InW1sBZfQY lWCBV7o0V59g2/28UTMb+iT5RawAUUYq/5IC0cUdp0lwkWnDSdfyuazbQtQhGqDquCGn 9U5rgGrKn/DFTpnKzpm9HAy67cvmD1fl/ahltfJdIZs8LsYb5c8G1cVVIk3o+Y3yTUlf +xXg== 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 sd23-20020a1709076e1700b0078df3bd80b9si1712987ejc.46.2022.11.08.06.50.20; Tue, 08 Nov 2022 06:50:43 -0800 (PST) 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 S233615AbiKHObQ (ORCPT + 91 others); Tue, 8 Nov 2022 09:31:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234305AbiKHOat (ORCPT ); Tue, 8 Nov 2022 09:30:49 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B9C2B114E; Tue, 8 Nov 2022 06:30:26 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 08 Nov 2022 23:30:26 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 2077220584CE; Tue, 8 Nov 2022 23:30:26 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 8 Nov 2022 23:30:26 +0900 Received: from [10.212.157.169] (unknown [10.212.157.169]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 45D44B62A4; Tue, 8 Nov 2022 23:30:25 +0900 (JST) Message-ID: Date: Tue, 8 Nov 2022 23:30:24 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 5/5] arm64: dts: uniphier: Add NX1 SoC and boards support Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Masami Hiramatsu Cc: soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221107103410.3443-1-hayashi.kunihiko@socionext.com> <20221107103410.3443-6-hayashi.kunihiko@socionext.com> From: Kunihiko Hayashi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 Hi Krzysztof, On 2022/11/08 20:13, Krzysztof Kozlowski wrote: > On 07/11/2022 11:34, Kunihiko Hayashi wrote: >> Initial version of devicetree sources for NX1 SoC and boards. >> >> NX1 SoC belongs to the UniPhier armv8 architecture platform, and is >> designed for IoT and AI/ML application fields. >> > >> + >> + soc_glue: syscon@1f800000 { >> + compatible = "socionext,uniphier-nx1-soc-glue", >> + "simple-mfd", "syscon"; >> + reg = <0x1f800000 0x2000>; >> + >> + pinctrl: pinctrl { >> + compatible = "socionext,uniphier-nx1-pinctrl"; > > So instead of documenting the hardware precisily, you have one big bag > for everything under simple-mfd. This is not how the SoC should be > described in DTS. Sorry I don't understand. This is inherited from the previous descriptions, but is there some example to express DTS correctly about that? > >> + }; >> + }; >> + >> + soc-glue@1f900000 { >> + compatible = "simple-mfd"; > > No, it is not allowed on its own. You need a specific compatible and > bindings describing its children. I saw the definition of "simple-mfd" itself is only in mfd/mfd.txt. Currently there are only efuse devices as children, and this space means nothing. I think it had better define the devices directly. Thank you, --- Best Regards Kunihiko Hayashi