Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6068406rdb; Thu, 14 Dec 2023 07:34:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO6ijgsG9qeOEKRagQZq7SEfTMlRl7B0pUNKvn/4GAWyNf/ZjrvzlqVmO/3n8tmyqfphN7 X-Received: by 2002:a17:902:dac3:b0:1d3:78e2:81e3 with SMTP id q3-20020a170902dac300b001d378e281e3mr411803plx.15.1702568057477; Thu, 14 Dec 2023 07:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702568057; cv=none; d=google.com; s=arc-20160816; b=Lpq36UMciz31fQfWJ5sLJKQUUPwK9Z23/2gBU8go1DsZ/1lWlaizcFkbPP0kKjq65F RjHB4lSkrsn6BTQdJxBCBFBO/iYpjOJsC0edjoDe7QKazmuzs8Pu4GXFMMHTcOBbr1ef b2dditWk2smmMrILSXWvejphUMEJALYEYtlIUDrcmzq3cj//LyJJsGquPLInRWONwINm 1tjpGzHIM+ijhiCutVn4gbhLvjGVDzowa+kICAbl7H5iIulk9WSOqyCZNrjNCelLSLnV n/+1QQEGV+SLIVko5t6KQynCvcNkunjHNjvNlqkAVtkpAyUxcqTf0BLUJ/ZS3NM0j8W3 7u7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rcNFHsvsaISwcnJ44Tj/kSFoKPbKk6xV4s4VLMajfFs=; fh=KxfOSluK4BJuAMljI544NMzy5X4IBxP5BZ+s4BZsYls=; b=LIYJMjTTVxAVVNN3qVpJMLs7NntoMxjK4BvNXpJ3m5CmnB0LN1rhhz1at+3SJ8RmXT 1xaPVlO2FHgc7Yr+Ejz5uU+YuH7U82UfY+iE0az1xcemiEyt3jYe/QwWU7pDbX/6RpUw tAwB0Xhg+Ld/P5xWJg3sxk7EwGTJwWauRFQvX9Wf1dcoOzWLAqP7DSlPVHp6WmMuwtuZ LClrg0nYHL8SboiNMQNXJcFqRLpLzOXpf1/qZoZ4sH1FtDw7mrVZ4RSWyBIY3zjAp6Bt 7MafoURz0xbbfjYI/uDfMQ4vt6mqHWjJ8Txlry7NwTIzEwNGc1eAGema3MDaBaqxrl2D AQzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWC9kpaz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ju15-20020a170903428f00b001d01e0f2d18si439922plb.573.2023.12.14.07.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:34:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWC9kpaz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DF057852683B; Thu, 14 Dec 2023 07:34:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573820AbjLNPdy (ORCPT + 99 others); Thu, 14 Dec 2023 10:33:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573757AbjLNPdv (ORCPT ); Thu, 14 Dec 2023 10:33:51 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C148D129 for ; Thu, 14 Dec 2023 07:33:57 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-54bf9a54fe3so11409160a12.3 for ; Thu, 14 Dec 2023 07:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702568036; x=1703172836; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=rcNFHsvsaISwcnJ44Tj/kSFoKPbKk6xV4s4VLMajfFs=; b=qWC9kpazK5N7TSfBDoB003CGguNo09f+g/ssJy3Tla7YhjJXVdtAnCfbMjIoYW/Ugc pzc+gqXvZbFfHXGcZQWkWkXjHMx3OvlHgiHWOrmYxrY9fUkfpDL4vQ74j12ZBTXEr4TI wKJ73segD/79cJuJupYuTpUwCyJbDAd8Fmn5YmHK6Jb+R5a9luXVQx4lqO5jz8t+Md1s i5ucvNWYST+WQFovbvdtXm2/T2VN95gYK8xlzsyvZuvg5LOHE+b7wRB4EF0he2FlIwqQ 1it8PqWuPMJh/FNoean/qJD4cXEPTlnOLd4Dwd+ygiOtfBCZgSGfiQ9qQlhBmDwRzDc8 fjeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702568036; x=1703172836; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rcNFHsvsaISwcnJ44Tj/kSFoKPbKk6xV4s4VLMajfFs=; b=nJRAPSkn3/ZHkwe7cVyzjq/stat02D9yY76OaYHJf4uqsC/5lineDd6Xm0RiG7s78E nfdTPv77TBgvJmKc90eqKBLH84JMHS44t0ChWdbSwRocf5Vo7xxPz7SyP23cv8wdrEZI jMCwZf5EzarsVlj48/AUOyhqfJrbBy+ABdwMxmFZZfhwVoM05YEhEGPizy4Toa0hOuIu p281NQR1xjwlOi2G2E1javHPSljKfRhQZlpbnnp1B3imuOXUZaeSHO+OuQXQnlh5hkHF NPS3EJSMmM7BURns394Sbs+jpKtKdLmGc2/jSqxNMEx1FSYesLBo4dy9/8JDZJ4TWQnn FMug== X-Gm-Message-State: AOJu0YwyPK6ppxZjpryaOn97oXpKQU253OpulKDcP7qRCcw/4TkcvNhS FjculZgs2SI9TPl+G4H21DwkVQ== X-Received: by 2002:a17:906:690:b0:a19:a1ba:8ceb with SMTP id u16-20020a170906069000b00a19a1ba8cebmr4191517ejb.137.1702568036071; Thu, 14 Dec 2023 07:33:56 -0800 (PST) Received: from linaro.org ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id fb4-20020a1709073a0400b00a1c76114fcesm9526650ejc.218.2023.12.14.07.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:33:55 -0800 (PST) Date: Thu, 14 Dec 2023 17:33:54 +0200 From: Abel Vesa To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: Re: [PATCH 1/2] arm64: dts: qcom: x1e80100: Add all missing nodes Message-ID: References: <20231212-x1e80100-dts-missing-nodes-v1-0-1472efec2b08@linaro.org> <20231212-x1e80100-dts-missing-nodes-v1-1-1472efec2b08@linaro.org> <9c8e887b-429c-4226-9851-5f1cbb93524a@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c8e887b-429c-4226-9851-5f1cbb93524a@linaro.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 07:34:10 -0800 (PST) On 23-12-12 17:21:19, Konrad Dybcio wrote: > > > On 12/12/23 11:24, Abel Vesa wrote: > > Add all missing nodes which describe entire X1E80100 platform. > "all" doesn't really mean all :| > Well, all the nodes where we have support working (for now). But I'll re-word it to say "add some missing nodes". > couple of patch-wide observations below > > [...] > > > + gpucc: clock-controller@3d90000 { > > + compatible = "qcom,x1e80100-gpucc"; > > + reg = <0 0x3d90000 0 0xa000>; > Please make sure the address part is padded to 8 hex digits Will do. > [...] > > > + usb_1_ss2_hsphy: phy@fde000 { > > + compatible = "qcom,x1e80100-snps-eusb2-phy", > > + "qcom,sm8550-snps-eusb2-phy"; > > + reg = <0x0 0x0fde000 0x0 0x154>; > and please choose 0x0 vs 0 and stick to one (which seems to > be 0 in this file) I'll use 0x0 in all reg as I think this is more consistent. > > [...] > > > + pcie6a: pci@1bf8000 { > > + device_type = "pci"; > > + compatible = "qcom,pcie-x1e80100"; > > + reg = <0x0 0x01bf8000 0x0 0x3000>, > > + <0x0 0x70000000 0x0 0xf1d>, > > + <0x0 0x70000f20 0x0 0xa8>, > > + <0x0 0x70001000 0x0 0x1000>, > > + <0x0 0x70100000 0x0 0x100000>; > > + reg-names = "parf", "dbi", "elbi", "atu", "config"; > one per line, please Will do. > > > + #address-cells = <3>; > > + #size-cells = <2>; > > + ranges = <0x01000000 0x0 0x00000000 0x0 0x70200000 0x0 0x100000>, > > + <0x02000000 0x0 0x70300000 0x0 0x70300000 0x0 0x3d00000>; > > + bus-range = <0x00 0xff>; > > + > > + dma-coherent; > > + > > + linux,pci-domain = <7>; > > + num-lanes = <2>; > > + > > + interrupts = ; > > + interrupt-names = "msi"; > > + > > + #interrupt-cells = <1>; > > + interrupt-map-mask = <0 0 0 0x7>; > > + interrupt-map = <0 0 0 1 &intc 0 0 0 843 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ > > + <0 0 0 2 &intc 0 0 0 844 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ > > + <0 0 0 3 &intc 0 0 0 845 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ > > + <0 0 0 4 &intc 0 0 0 772 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ > you can drop these comments Will do. > [...] > > > + clocks = <&gcc GCC_DISP_AHB_CLK>, > > + <&gcc GCC_DISP_HF_AXI_CLK>, > > + <&dispcc DISP_CC_MDSS_AHB_CLK>, > > + <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, > > + <&dispcc DISP_CC_MDSS_MDP_CLK>, > > + <&dispcc DISP_CC_MDSS_VSYNC_CLK>; > > + clock-names = "bus", > > + "nrt_bus", > > + "iface", > > + "lut", > > + "core", > > + "vsync"; > you probably should list the ROT clock here too Will look into it. > [...] > > > + cpucp_mbox: mailbox@18830000 { > > + compatible = "qcom,x1e80100-cpucp-mbox", "qcom,cpucp-mbox"; > This is not upstream It's a new driver, so bindings patches will come with it. > > > + reg = <0 0x18830000 0 0x300>, <0 0x17430000 0 0x4C08>; > lowercase hex Will do. > > Konrad