Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3539003rwa; Tue, 23 Aug 2022 06:24:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR7IwlHrT0/k8KAgLgRw1KZvwLcxeKHw05QLTMotqpPVk0eeNm0fqKTZ6xjtVOMf84FBJJhT X-Received: by 2002:a65:460c:0:b0:429:f162:78e1 with SMTP id v12-20020a65460c000000b00429f16278e1mr20916658pgq.7.1661261099581; Tue, 23 Aug 2022 06:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661261099; cv=none; d=google.com; s=arc-20160816; b=gVxcmm18c4Q0cYotWNCr/3jG62xOAk26160B0epS49dE/7Kr8xbZs9wPPNS0npF5hl 5tAWYjPJ0jf4ByVtAxBJ30j3wRKy2rERo1xXDcNy3Uyo2/sUprRogZkK9Eg9hvFfYkN6 hElyRR7JRJX1fs38lBQ0/uIKtWJik215BT27Mm1wVEuj+rubjImSmyXC4Zz+9rEovJxP dJHg89iqswo5LIVV1t+jPbBynxNSYU3wLyTWunGaj4gQXl6FVw3dYyNxolUhvxelomSw 834cbmbZBqirJS3YXQeD+wn1rEYxVFxaVH/ripr8/TXrR6z2Ls9t4fKOw16YR5HMHDj0 yjWA== 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:dkim-signature; bh=zsQrjzLlz1WwvkGgnIx2yqhoGVJPRWQAAvm1kJ/arH8=; b=MsVZnhKkhPbAbjLVvF5jo8nCfYNe20eFqG9LBNeuwE+He3PFQfOjyUkMApPr4u3Avm zCMvmC4X19FzToCHINmGDvRVGROqZOY4ANxwGwvmYPnSM3Yd1to3Q0US7Le0nZQ80SQ8 ScKz2Go1w7dQFUNhu0uhnZEY+gwYBcMAYX+ZDASdozvf8VAFRPeOaE+yOpcJBQkU+GOT /VV5LNHvS9LIoyYRXBFnxHGRKhqSSHAoYsJvJ8mpWj8xAh4Rh82f229XPnzGkIP5AOJ8 g75c1DCuUvNKrdZm1iED/nxjpfpXB89xS1u89sJ7B0JW84GcT7k6bi9TYcvsvFfjLk/Z xjlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MRoulzA5; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx15-20020a17090af48f00b001f20f502bfesi13556293pjb.178.2022.08.23.06.24.46; Tue, 23 Aug 2022 06:24:59 -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=@linaro.org header.s=google header.b=MRoulzA5; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241876AbiHWNVA (ORCPT + 99 others); Tue, 23 Aug 2022 09:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242278AbiHWNUa (ORCPT ); Tue, 23 Aug 2022 09:20:30 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 482D2140E95 for ; Tue, 23 Aug 2022 03:19:13 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id l19so9904904ljg.8 for ; Tue, 23 Aug 2022 03:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=zsQrjzLlz1WwvkGgnIx2yqhoGVJPRWQAAvm1kJ/arH8=; b=MRoulzA5Ch+EYpnMY32xtg51q2QEePLjf7GlsZywJBP/elkNXCYvcfv12YpmeDtSds KeitN1Vw7Gs1cDEt0kGdoO9Pv1tIcFJUqTvFi8Xh8uizPJjhxUta7GRN/RAEoCDmak7y PCYivdELVk56Br/VRL8MY0Kn6uND09aTzuV966cpxiiMOUh7MujafwoJHplLe2FiuTRu PEd3fIkOd7DAE2g2z1OslDd7vO6MPXm+ggQi+WZQOccZgeEBjlGnPSKjbNeA1+FoEU/P aFHjmsDNNTYmm4XuaLOxs4dYx7WGseTaFxDcZuheVhKGv0nIm40wHlfgn87GAPGitiWt YXxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=zsQrjzLlz1WwvkGgnIx2yqhoGVJPRWQAAvm1kJ/arH8=; b=0oKtM+oLrzCBT0VNkcdqHLMoGGHNDh9Su6rrUK4LiuWgrm7IE0MIz+Q18nV+Fgj+Zr ahjRfrGDJILtxzrhpTR90MaF7oMZOcPDdZGTg1fcmyHo7IY/N+BFa8gfCf7/emIi81sC PSKu3m/y0u/CKd3Yd0Xq/P9ZjwkbbTzjkYtPbgIQHPl9/xpDO/JCjhtcHkIey/AGYwyO Dx2Hoia48Zr/EZjywpcFmKC7AMurYj5eO/TIjiUGZrs8jC1aXzvdhbw1/wjKQuENgbwc +OAxl4xgYxkuytsWZ9GMCWGuajwQwETzaI1hNBgY/3UxiaRGB6BOxiA6BIWjXGjfHR1N Vyfw== X-Gm-Message-State: ACgBeo0N4sy5jg8Zzoi+am4an7bRi9+KtXCiRkTDs5GLjwPPuaB+Gkgh h2yLgQ4YwioifRpWSyL0oKm5Ow== X-Received: by 2002:a2e:7309:0:b0:261:d14e:7af2 with SMTP id o9-20020a2e7309000000b00261d14e7af2mr2016553ljc.45.1661249897669; Tue, 23 Aug 2022 03:18:17 -0700 (PDT) Received: from [192.168.0.11] (89-27-92-210.bb.dnainternet.fi. [89.27.92.210]) by smtp.gmail.com with ESMTPSA id g8-20020a2eb5c8000000b00261c6c80b38sm1503878ljn.75.2022.08.23.03.18.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Aug 2022 03:18:17 -0700 (PDT) Message-ID: Date: Tue, 23 Aug 2022 13:18:16 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 3/4] arm64: dts: ti: Add initial support for J784s4 SoC Content-Language: en-US To: Apurva Nandan , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Hari Nagalla References: <20220819190054.31348-1-a-nandan@ti.com> <20220819190054.31348-4-a-nandan@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20220819190054.31348-4-a-nandan@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 19/08/2022 22:00, Apurva Nandan wrote: > The J784S4 SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration in automotive ADAS applications > and industrial applications requiring AI at the network edge. This SoC > extends the Jacinto 7 family of SoCs with focus on high performance > providing significant levels of processing power, graphics capability, > video and imaging processing, virtualization and coherent memory > support. > > Some highlights of this SoC are: Thank you for your patch. There is something to discuss/improve. > + > + main_gpio_intr: interrupt-controller@a00000 { > + compatible = "ti,sci-intr"; > + reg = <0x00 0x00a00000 0x00 0x800>; 0x0, not 0x00. Here and all other places. > + ti,intr-trigger-type = <1>; > + interrupt-controller; > + interrupt-parent = <&gic500>; > + #interrupt-cells = <1>; > + ti,sci = <&sms>; > + ti,sci-dev-id = <10>; > + ti,interrupt-ranges = <8 360 56>; > + }; > + > + main_pmx0: pinctrl@11c000 { > + compatible = "pinctrl-single"; > + /* Proxy 0 addressing */ > + reg = <0x0 0x11c000 0x0 0x120>; > + #pinctrl-cells = <1>; > + pinctrl-single,register-width = <32>; > + pinctrl-single,function-mask = <0xffffffff>; > + }; > + (...) > + > + main_udmass_inta: msi-controller@33d00000 { > + compatible = "ti,sci-inta"; > + reg = <0x00 0x33d00000 0x00 0x100000>; > + interrupt-controller; > + #interrupt-cells = <0>; > + interrupt-parent = <&main_navss_intr>; > + msi-controller; > + ti,sci = <&sms>; > + ti,sci-dev-id = <321>; > + ti,interrupt-ranges = <0 0 256>; > + }; > + > + secure_proxy_main: mailbox@32c00000 { > + compatible = "ti,am654-secure-proxy"; > + #mbox-cells = <1>; > + reg-names = "target_data", "rt", "scfg"; > + reg = <0x00 0x32c00000 0x00 0x100000>, > + <0x00 0x32400000 0x00 0x100000>, > + <0x00 0x32800000 0x00 0x100000>; > + interrupt-names = "rx_011"; > + interrupts = ; > + }; > + > + hwspinlock: spinlock@30e00000 { Node name: hwlock (spinlock is Linux specific) > + compatible = "ti,am654-hwspinlock"; > + reg = <0x00 0x30e00000 0x00 0x1000>; > + #hwlock-cells = <1>; > + }; > + > + mailbox0_cluster0: mailbox@31f80000 { > + compatible = "ti,am654-mailbox"; > + reg = <0x00 0x31f80000 0x00 0x200>; > + #mbox-cells = <1>; > + ti,mbox-num-users = <4>; > + ti,mbox-num-fifos = <16>; > + interrupt-parent = <&main_navss_intr>; > + }; (...) > + > + wkup_pmx0: pinctrl@4301c000 { > + compatible = "pinctrl-single"; > + /* Proxy 0 addressing */ > + reg = <0x00 0x4301c000 0x00 0x178>; > + #pinctrl-cells = <1>; > + pinctrl-single,register-width = <32>; > + pinctrl-single,function-mask = <0xffffffff>; > + }; > + > + wkup_gpio_intr: interrupt-controller@42200000 { > + compatible = "ti,sci-intr"; > + reg = <0x00 0x42200000 0x00 0x400>; > + ti,intr-trigger-type = <1>; > + interrupt-controller; > + interrupt-parent = <&gic500>; > + #interrupt-cells = <1>; > + ti,sci = <&sms>; > + ti,sci-dev-id = <177>; > + ti,interrupt-ranges = <16 928 16>; > + }; > + > + mcu_conf: syscon@40f00000 { > + compatible = "syscon", "simple-mfd"; You need device specific compatible. Alone this is not allowed. Best regards, Krzysztof