Received: by 10.223.176.5 with SMTP id f5csp922535wra; Wed, 7 Feb 2018 09:38:56 -0800 (PST) X-Google-Smtp-Source: AH8x226rTDWCwEh8MMpicWtqSQu+knsMj4sxAeIIj29L3cQTfo1blxRJQOVuHjIMfFRHIfyf2QVS X-Received: by 10.98.75.218 with SMTP id d87mr6810475pfj.11.1518025136060; Wed, 07 Feb 2018 09:38:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518025136; cv=none; d=google.com; s=arc-20160816; b=Ymog2egIhaV0hRMhVQ5UkBvbnT9Qboq82iyfiSyEk626kvXlRI6a2sdNT+XYcy/mNi 3mFK6MDAlwxLJoeA8QHHNKh+B2PImjCg3TI48a6CTS7uvPeRabQW5bKv8cFCG6bBcWsD rMDaIC96UZqwf4TJz/NCPMW2I/DWCQKxKACkLVTQwaWuDjSuZnomms/nS+zJm74Xpy+u a1RkArdkFo3w/TdLAZM6DnKcCr6FvonIAd89TRKHXsZBvP9AS0A7wt9SdEZf6cdb/Rdh 1WHHCMrupbMzWBL5KoOoo6AFaqvxKqHcC9pmr7ubQKK2XJTbgwt77abO0t/q4ST7soWO yWTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=W6nJc/Sk514r6/UA8r4OprVo3umHJYeelDHg8+eGBNY=; b=XuH9lXddOdKuVXe0Qe930WVQhBPJCDtft/DVF6vnrd9qgSDlwQbUNaa27zG3nA6ACp NrXgPN+agOisgyzVKGLnHTtHWeaSguEJYXx8HomOgSNRv1AOPz4ElDZ3wVoNVDWU7WLf QtF4eMAL97od3zUYWbTEht+7ExSSEMLeZQW2OYKYgkoGeqGWcGj3e8BVUAQpc3oIt1by Dh+XhsJjYNJsAIbSPTPt2M91z6qxvGw5XU1Zm0uGdtKuXLQWAsSq77Otxkdc4m8jiS7i 6XQT7NSu49Jgtt3pzTPplVDWsOyJQEFdanNfhJp7QAStuUNLFkxx7a54jnSfOFn8OUrH vV9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si1194931pgp.297.2018.02.07.09.38.42; Wed, 07 Feb 2018 09:38:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754288AbeBGRh2 (ORCPT + 99 others); Wed, 7 Feb 2018 12:37:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:45416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753931AbeBGRh0 (ORCPT ); Wed, 7 Feb 2018 12:37:26 -0500 Received: from mail-qt0-f171.google.com (mail-qt0-f171.google.com [209.85.216.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B49721788; Wed, 7 Feb 2018 17:37:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B49721788 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org Received: by mail-qt0-f171.google.com with SMTP id s39so2701801qth.7; Wed, 07 Feb 2018 09:37:25 -0800 (PST) X-Gm-Message-State: APf1xPDuvZSAa+/8PkxtQ1auKftHaZRa/oAb3YnhFYHNlzFkKtbx3ceU Sv/NM0SJKvtUu0I5a9wJ393+6OpgRlEujWIBGQ== X-Received: by 10.200.9.86 with SMTP id z22mr10527547qth.87.1518025044575; Wed, 07 Feb 2018 09:37:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.147.20 with HTTP; Wed, 7 Feb 2018 09:37:04 -0800 (PST) In-Reply-To: <43b34b44-f613-79c6-1fe4-01c9dfe85e62@codeaurora.org> References: <20180125163216.29018-1-rnayak@codeaurora.org> <20180125163216.29018-2-rnayak@codeaurora.org> <43b34b44-f613-79c6-1fe4-01c9dfe85e62@codeaurora.org> From: Rob Herring Date: Wed, 7 Feb 2018 11:37:04 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP To: Rajendra Nayak Cc: Andy Gross , "linux-kernel@vger.kernel.org" , linux-arm-msm , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 6, 2018 at 10:47 PM, Rajendra Nayak wrote: > [].. > >>> + >>> +#include >>> + >>> +/ { >>> + model = "Qualcomm Technologies, Inc. SDM845"; >> >> This should only be in the board level file. > > thanks, will fix. > >> >>> + >>> + interrupt-parent = <&intc>; >>> + >>> + #address-cells = <2>; >>> + #size-cells = <2>; >>> + >>> + chosen { }; >>> + >>> + memory { >>> + device_type = "memory"; >>> + /* We expect the bootloader to fill in the reg */ >> >> The start address is variable? If not you should populate the base and >> have a unit-address. > > sure, I'll check and update. > >> >>> + reg = <0 0 0 0>; >>> + }; >>> + > > [].. >>> + >>> + soc: soc { >>> + #address-cells = <1>; >>> + #size-cells = <1>; >>> + ranges = <0 0 0 0xffffffff>; >>> + compatible = "simple-bus"; >>> + >>> + intc: interrupt-controller@17a00000 { >>> + compatible = "arm,gic-v3"; >>> + #interrupt-cells = <3>; >>> + interrupt-controller; >>> + #redistributor-regions = <1>; >>> + redistributor-stride = <0x0 0x20000>; >>> + reg = <0x17a00000 0x10000>, /* GICD */ >>> + <0x17a60000 0x100000>; /* GICR * 8 */ >>> + interrupts = ; >>> + }; >>> + >>> + gcc: clock-controller@100000 { >>> + compatible = "qcom,gcc-sdm845"; >> >> sdm845-gcc is the preferred order. > > This is still proposed as part of the GCC patch for sdm845 [1] > (which looks like has neither you nor the DT list copied :/ ) > Also looking at Documentation/devicetree/bindings/clock/qcom,gcc.txt, > I see we seem to follow the gcc- convention for compatible all along :( > > "qcom,gcc-apq8064" > "qcom,gcc-apq8084" > "qcom,gcc-ipq8064" > "qcom,gcc-ipq4019" > "qcom,gcc-ipq8074" > "qcom,gcc-msm8660" > "qcom,gcc-msm8916" > "qcom,gcc-msm8960" > "qcom,gcc-msm8974" > "qcom,gcc-msm8974pro" > "qcom,gcc-msm8974pro-ac" > "qcom,gcc-msm8994" > "qcom,gcc-msm8996" > "qcom,gcc-mdm9615" Okay, I guess the pattern for this is pretty much established. Rob