Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3675888iob; Tue, 17 May 2022 05:15:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBJIx/pW7JXZTdY1Aoy584r2yokl3FIDKf4voxB8tHGMHIj8fzgB5E602ndfJ31tLDH8gs X-Received: by 2002:a17:90b:1e05:b0:1dc:575e:6211 with SMTP id pg5-20020a17090b1e0500b001dc575e6211mr35500618pjb.120.1652789702854; Tue, 17 May 2022 05:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652789702; cv=none; d=google.com; s=arc-20160816; b=QMbc+NCFCQyxCr8v7Q5976AlpuKQjtWKmZI+jayDcXp4nRdHCQxqMskPQZfPwjiDk/ G3xsGwLH9bV8wUPQCFx48AXvhEvxFLH2lVG7j5QDFi7ZfoITw8H5d7X0nOCBDOlqii0Q rlYE1d3qhRBjhrLITcwEAZncGzEPCS5gAUlP6TkH2RFHbGfe7MY8VU5kYYIt2+pPt5Mz n1PhxrsGbQ4Wk8I8VII06pvNvhMbE8TKDs21LEtzTKpOT7EE2+o5l2BsZ0Rq7bDDfFr+ oVGpftuxIMklnOGoWGD487O7dy2tjjBg6aFFojCA31XKSLmRAGYUMLZE8E8qPPpJb7Re FMew== 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=4VukSR4SHYzNRbj8Se/6nK2j2N2wZe6dlFD0wZxtWkE=; b=qkEoKJUhYTuHBFf8CZgrhndf8L+oqiZoc/g8m58TS7zsjWCqSEqxva7lhWjrBOlj0u 3FPw+1FqWQSCxjtpqYGoZe5g3UYBr1sEercxqPKJBl6XnaOhLxkxwGRYUpsvQvEJT92k kudIk+WNZs7KnSSoVfpUkIuAC0Os1qAqesRUbqa+Hphph2NgpvMHXpFEy+qrgFmK37GC OsXRyD3UiHkCMClet8ugPuSdma7xwiUDSPuXkzccjCqwKZ7mDtDwCmF8q83AcboOCv6Z GvewtYwBENwcmz3hcr7suP6Ovjns4UlFz7LUlFgFSXzsF5hJ0MsG3uG6cKw+vuxJ7HYW AlFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=QpSNtWwe; 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 z18-20020a170902ccd200b00159071eb8f6si16898976ple.502.2022.05.17.05.14.48; Tue, 17 May 2022 05:15:02 -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=fail header.i=@kapsi.fi header.s=20161220 header.b=QpSNtWwe; 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 S243508AbiEQIjS (ORCPT + 99 others); Tue, 17 May 2022 04:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243558AbiEQIjK (ORCPT ); Tue, 17 May 2022 04:39:10 -0400 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A1E143AED; Tue, 17 May 2022 01:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4VukSR4SHYzNRbj8Se/6nK2j2N2wZe6dlFD0wZxtWkE=; b=QpSNtWwev4f6WmROZ/65USyGPP 7Vt3YD/nXn0k3AkUBRq9FsFnSnBqhooH+AK2Wa8ORFNFBcROwIfI4Uox/4C9aoh4DILVKVGju2WZr p6uKrQQd7eOtGvoszGNxryeBR6bJNcSc0B4EW4F3wLz5jyfymVPEUeETzM0KyqgeUVFBcsr0bN2u/ 6JTDFchqmUtdUTQ8Bv4ViCpEiZRmnwbQhBoPLUXJiSjXinnTAsPGm1umZ1T1xvaDW/CWBzoqaEbc4 EcYfvflpLku30iKzmrO+jgHF1UatseYFsCWki0Bf3+L1efkJA1CORXg24Zx1EiGbT7qa5x4PoFX4M hjtvGVeA==; Received: from 91-158-25-70.elisa-laajakaista.fi ([91.158.25.70] helo=[192.168.1.10]) by mail.kapsi.fi with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nqsjF-0007u3-KW; Tue, 17 May 2022 11:38:53 +0300 Message-ID: <1fccdfe8-d44c-2d56-e572-628998efc985@kapsi.fi> Date: Tue, 17 May 2022 11:38:52 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH v1 03/13] arm64: tegra: Add Host1x and VIC on Tegra234 Content-Language: en-US To: Krzysztof Kozlowski , thierry.reding@gmail.com, jonathanh@nvidia.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, digetx@gmail.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Mikko Perttunen References: <20220516100213.1536571-1-cyndis@kapsi.fi> <20220516100213.1536571-4-cyndis@kapsi.fi> <424b02f3-eb53-68d0-bfee-5488dbcefa71@linaro.org> From: Mikko Perttunen In-Reply-To: <424b02f3-eb53-68d0-bfee-5488dbcefa71@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 91.158.25.70 X-SA-Exim-Mail-From: cyndis@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 5/17/22 11:01, Krzysztof Kozlowski wrote: > On 16/05/2022 12:02, cyndis@kapsi.fi wrote: >> From: Mikko Perttunen >> >> Add device tree nodes for Host1x and VIC on Tegra234. >> >> Signed-off-by: Mikko Perttunen >> --- >> arch/arm64/boot/dts/nvidia/tegra234.dtsi | 46 ++++++++++++++++++++++++ >> 1 file changed, 46 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi >> index cb3af539e477..cae68e59580c 100644 >> --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi >> +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi >> @@ -454,6 +454,52 @@ misc@100000 { >> status = "okay"; >> }; >> >> + host1x@13e00000 { > > Generic node names, if that possible. Since the bindings do not exist in > the next, I actually cannot figure out what's host1x... Host1x is a hardware block that provides programmable DMA channels, HW synchronization primitives, and virtualization support for IP blocks connected to its "host1x bus". So far I haven't found a one or two word way to describe it despite efforts. In any case, considering all the existing documentation and device trees that use this name, I'd prefer not changing it (especially as I don't know what else it could be called). > >> + compatible = "nvidia,tegra234-host1x"; >> + reg = <0x13e00000 0x10000>, >> + <0x13e10000 0x10000>, >> + <0x13e40000 0x10000>; >> + reg-names = "common", "hypervisor", "vm"; >> + interrupts = , >> + , >> + , >> + , >> + , >> + , >> + , >> + , >> + ; >> + interrupt-names = "syncpt0", "syncpt1", "syncpt2", "syncpt3", "syncpt4", >> + "syncpt5", "syncpt6", "syncpt7", "host1x"; >> + clocks = <&bpmp TEGRA234_CLK_HOST1X>; >> + clock-names = "host1x"; >> + >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + ranges = <0x15000000 0x15000000 0x01000000>; >> + interconnects = <&mc TEGRA234_MEMORY_CLIENT_HOST1XDMAR &emc>; >> + interconnect-names = "dma-mem"; >> + iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>; >> + >> + vic@15340000 { > > The same... vic is usually a vectored interrupt controller, so this > should be interrupt-controller. Unless it is something entirely else, so > then you need to come with a generic name. VIC here is video image compositor (with various other 2d operations). I suppose I can invent some generic name. Any thoughts, Thierry? Mikko > > > Best regards, > Krzysztof