From patchwork Tue Nov 15 15:27:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 20429 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2793555wru; Tue, 15 Nov 2022 07:32:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf5WYO0LGW62pwH35NONS9OfYOk4SUdAmgXRm6m0YN1kJDOP+17Bn5UuWJNG30rCPHPqyzaJ X-Received: by 2002:a17:906:f8d6:b0:7ad:a0cb:f79e with SMTP id lh22-20020a170906f8d600b007ada0cbf79emr13750025ejb.458.1668526358441; Tue, 15 Nov 2022 07:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668526358; cv=none; d=google.com; s=arc-20160816; b=GpfFHxmavi37B6LQQf2V/s3yyb+4HdNvCnFO2osElJXhirPWjaaJfy2IPZmprMIAff xJr8yXljQeYT6qFJNKcLV5jpri8F8cvn1sZtKYKPV5/fOTAKcjr2/mTDgteynd3tu334 dUbRBCHSQSUi8rpHxrEW8BW9LUARReHQXEe2KIMcg/0DvuUH7ZpwAHMEUWBXtkRKHK86 cMULVcTsi+wpfY4QZ2kUeiIj+Zlmw+60jHBvzzVrHV/eMNk5yd87fGCFFuF5KfhuluVU vX0wqvCOwrDaFOtxihtki1zC4RMeE6grT8ZIYhAABh+iBWiY4MWmkKYnV1bryd5u1WD8 6mzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=a7+SbyYQdBw4kzPLzewwCT1r4vhf5VDuBdU2kGvEWPI6KKISkkpz6qKr/HXw0z0NAx YV4W17xJBeds7+srVvISwhwBr9cug7Tx/tZkLHEWVxNp1+heUP/1bVh2I6W/cUQkd2JH 0s2laGAttGvn90IukKp0XlpJqmbXqobs5xZnvlXrFIdjRQGONFzxEOghiTqcHNiyeOfp GxGAjLFq7uWvqRCrZoBqh2QHDGH8pQYR9AbKI32NXK4lq4jto5e2D52KMIgttDhDsCIY GY7+nt0Pn3pILSZBxNwENHDtDg+ML0fkkq9PpU/OyveKbq5v0FhRpnj/JOgE4GafFKzT C3Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rQyKdD+G; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a1709063ac200b007ae83c51922si9247964ejd.45.2022.11.15.07.32.09; Tue, 15 Nov 2022 07:32:38 -0800 (PST) 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=rQyKdD+G; 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 S238116AbiKOP1x (ORCPT + 99 others); Tue, 15 Nov 2022 10:27:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237900AbiKOP1o (ORCPT ); Tue, 15 Nov 2022 10:27:44 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 325172D764 for ; Tue, 15 Nov 2022 07:27:43 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id ud5so36948677ejc.4 for ; Tue, 15 Nov 2022 07:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=rQyKdD+GzORugh864rhM3Czk2kviguv9s6CNctmtSalawYYsBoapCU90qOk1vew/7z dXcYLhlHfz2fpPjK12LQ+aend3qPWrrrw8UqhWjs6Y7vrc4rbGStWGQ0AZZUI4cf4YJ2 bSIJSb7Yz63Zr49XapuNXVBqjaFMROMEj4E+VG6Qkupe91CR45uUF37mz6GOVWc6+Z44 PRA7Xv806lz2vuxT7xYP46qoIzwDpVlvnTteSQYBdN7CA7Jh11YDrZ8IoZM4RQekCLkK TGLn7ue6LFeHlrmLhSeRCvMd8AgDEcutfh6tJD4NZdHqub23NB+09/eVAnWr1/9xbWsR ixEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=2l24t7imLFdKFit5QafkoGf7bEQASg7SSrpCgJX0i/yhRVYOte3nU4ZKwIyY2cyPZg NGec4WpdZwQA2bZIE4Zaowdx08Gg7nO/rE7L9bFJ+iiW2DPUZlhIm+UYXmjefOUND7Gn qdb+x8d5Mc6Cd1sUvF89y9B2fcGHuNg+4rlgBO6zlAz9ctgT72ieLB7ZeNIAYj7GTxft Mo0YhY41iJeAllPcY7A6Bwn0WdcIvuklTHwhlC7VgYetb1JLYSayL95uxTnBSkmpEk49 J95iT4+BT591fvTJpbNrccMnJ+hyv1yrj+QY8tEr6j9mmQ0+ftYgs+Utahoqqa5aG3iW Fn5A== X-Gm-Message-State: ANoB5pnZwj66cHwWOiVV4k+PQsmOY5ekXEmeVK3tFjGUbBvaGU+6WuDi AFI1zYPYDinwmlM947E6RWp6hQ== X-Received: by 2002:a17:906:6c8b:b0:78d:b6f7:53c0 with SMTP id s11-20020a1709066c8b00b0078db6f753c0mr14899794ejr.527.1668526061797; Tue, 15 Nov 2022 07:27:41 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id ku21-20020a170907789500b007ae1ab8f887sm5750679ejc.14.2022.11.15.07.27.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 07:27:41 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/9] arm64: dts: qcom: sm6375: Add GPI DMA nodes Date: Tue, 15 Nov 2022 16:27:21 +0100 Message-Id: <20221115152727.9736-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221115152727.9736-1-konrad.dybcio@linaro.org> References: <20221115152727.9736-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749576694490779587?= X-GMAIL-MSGID: =?utf-8?q?1749576694490779587?= Add nodes for GPI DMA hosts on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 9b1a497e5ca7..62a64dd731a0 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -567,6 +567,46 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + gpi_dma0: dma-controller@4a00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04a00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0x16 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + + gpi_dma1: dma-controller@4c00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04c00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0xd6 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + usb_1: usb@4ef8800 { compatible = "qcom,sm6375-dwc3", "qcom,dwc3"; reg = <0 0x04ef8800 0 0x400>;