Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7150494rwn; Tue, 13 Sep 2022 14:55:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR4agfJ273oFEx+8WJc+3hiWYRgLnxlk0oahzq7J5ZeNhgDV8ZJCKR2/6RULZ0LkHlhczMTw X-Received: by 2002:aa7:de91:0:b0:451:ecf8:e3b6 with SMTP id j17-20020aa7de91000000b00451ecf8e3b6mr8338119edv.402.1663106158479; Tue, 13 Sep 2022 14:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663106158; cv=none; d=google.com; s=arc-20160816; b=aAB2jSDrVbvkkjTn4k9m4B1rTbPzpb58q5NU+lwFJfQnpEtx8/NBcV5zW/yMnckBbq hnDcDEl/bxQd65/IgGtCEllmldMMmbIIxy3DD0Kgu4jnBRJ3KPK9RVWHoimzywu9sYfw 7O7fzrAGsNlhDshx1u3ehiIBQXQY+lTDwV71wQqr4qzstIleynxGzjN5kkGBgXTd9D9N uKeHpGcWZI8PNovfW6LZdkCRs7TZO3QkVH1z6pHd7n1Fev+pzGZCu1uihjARCWxfV4O4 SKd4Nf8SN9wz0DaHB1J0WRG/PSmjqRgcbhOWFJxURhHALhGBOJdQB4tMmg7t9zdoOTf1 44qA== 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=t/ZUdr3bjVlUS3tAacZOfo1kU+ajPJl5vLjzLt78EKg=; b=lln4OtdPXRLa1pYNw+Bi3EOAjcFFV/NJU3Wed0M1kpOxY4e1Vsbj4/FRjOVKcFXXIN X+8yxf/ztnQNVSiryKqX4+NJuJfLPSS+pOGPxibinJ3j1GAVg+6IwmE5+5TMjmYan2Fh qxzphT2RfW59DiIN1+GR2kSB55oRXVOgfAtJHEd03M4bjKCwWMhYhVDnlaaqWctife6G Op1q4t+JsTMODklkX/F08mvcormaLOIthlRHCbZ10UwmBB36HNzcwWpqPdr90RxRUyiB xY7sX0gcPk2/XqxWSX64OSdEq9AeuH78iimyVwih9x4IO0buNfhawmeO4TjzagOYcuJ3 ZEtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SAUsbfW4; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp32-20020a1709073e2000b0073301a22cb7si9324628ejc.294.2022.09.13.14.55.32; Tue, 13 Sep 2022 14:55:58 -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=@kernel.org header.s=k20201202 header.b=SAUsbfW4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbiIMViV (ORCPT + 99 others); Tue, 13 Sep 2022 17:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbiIMViU (ORCPT ); Tue, 13 Sep 2022 17:38:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A488E61B10; Tue, 13 Sep 2022 14:38:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F3B4615BF; Tue, 13 Sep 2022 21:38:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C21D5C433D6; Tue, 13 Sep 2022 21:38:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663105098; bh=ySzPYixkG3ZBWTadxbOwMb02JswJwS60s+/FJORSLeo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SAUsbfW4VrqJc9Bkj903IaJBYN1LcigoJDj3f7V0ZVv6aFOIbqJr9X9IbdWDrhbC/ NJugMROJ5O4cS6ZMaYaO23/e+PcLZ8jAvL/WuD7F9IoWGMdzYuFYh885S8VTdd+7fG FwB17x1qIwl1/jmz36XeU1M1yHHWSiofkRsiHFprL7XPBP6KOAq2kWgIdzl2mnXIkj JOsY5FnT6psL/3gKFa96sDyaE0DJUF9nWMbbRwc8ikN5+6p/BYjNSI9/lnusWi4FZr J+wPzBDAulVZoay06XMRwpVXf/Bz9RLmTb8OSPVnjD5jce7CbYXY1FhFkgpp1N81xo yOwoKWv1Zg1aw== Date: Tue, 13 Sep 2022 16:38:15 -0500 From: Bjorn Andersson To: Iskren Chernev Cc: Krzysztof Kozlowski , Rob Herring , phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 7/9] arm64: dts: qcom: sm6115: Add basic soc dtsi Message-ID: <20220913213815.bvw2pro6f3mj3q6z@builder.lan> References: <20220910143213.477261-1-iskren.chernev@gmail.com> <20220910143213.477261-8-iskren.chernev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220910143213.477261-8-iskren.chernev@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Sat, Sep 10, 2022 at 05:32:11PM +0300, Iskren Chernev wrote: [..] > diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi [..] > + > + smem { > + compatible = "qcom,smem"; Please move the compatible, qcom,rpm-msg-ram and hwlocks into the &smem_mem node. > + memory-region = <&smem_mem>; > + qcom,rpm-msg-ram = <&rpm_msg_ram>; > + hwlocks = <&tcsr_mutex 3>; > + }; > + > + soc: soc { I expect that you should be told that you're missing a @0 on your soc. > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0 0 0xffffffff>; > + > + tlmm: pinctrl@500000 { Please sort your nodes based on address, followed by node name alphabetically, followed by label. > + compatible = "qcom,sm6115-tlmm"; > + reg = <0x500000 0x400000>, <0x900000 0x400000>, <0xd00000 0x400000>; Please pad your address to 8 digits, to make it faster to see if the sort order makes sense. > + reg-names = "west", "south", "east"; > + interrupts = ; > + gpio-controller; > + gpio-ranges = <&tlmm 0 0 121>; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + [..] > + }; > + > + timer { > + compatible = "arm,armv8-timer"; > + interrupts = , > + , > + , > + ; Please use (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW) for your flags. Regards, Bjorn