From patchwork Thu Apr 4 08:16:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 161764 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1301237jan; Thu, 4 Apr 2019 01:16:38 -0700 (PDT) X-Received: by 2002:a63:170d:: with SMTP id x13mr4510806pgl.169.1554365798774; Thu, 04 Apr 2019 01:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554365798; cv=none; d=google.com; s=arc-20160816; b=QEMlvutNXiJVes7ubzi9fsyukqmK2cit9wfdCfrhIW/eagyG14I5BxnhqmqsOMJYLy AyjxYK0W1OJMQr3ZaB+OUYKPL3hEiOtqdAv2sqdmVg5nyqty83m/E0rvl+x61K55vNUm ef8l+Pm07CyXcIXe/qZ3Z07NLifOPsvgx+LY9vWg4xSdxSSe3ff5mX80L3KsDa/z0oIx VDg5aTs1RVkqgC5l69eRBNAIlyMAckzJlCd7mVzm4ai5Hli6Cf3Chxjq960KEag9QOsG ZQS1+RhaCl99dO82lfeDNmX5+zdCNcRakeLYUL9piVbRCk+bu8XfqfFDzeqASkSXXNlJ /JZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3WFDGlXmYECw79Q41NjIHGfPygiaXYVxcsbulVh6YIk=; b=rk+K1LvvoNO6qD5HL0a1Jc5g8r3oZNzinhKrEdLB2eXxp1AyJ0NNNZwjy5BYVs2PSB anFaTMzCpSpNU24o9QfiWUfLcmZbCTjSrfDyTfjPCX69Dc4+F1tvMiXjq0kIl5xAgOs2 ZzetgeVqHTiUnMVmcOVYfZrk80cFbN+J5kMvpjdYXw/NBoz4zKrSheu0Oo3D53LC15ZR Mcp1l9UJGHfxPdRjZCfmPQZXEVKg5IK7RuKNU2FvZ2exqmbNJzRYUrMAj/vwQxsaOZL6 kkZ41pnVeoCs90qTVwTh2HbQze/8Jt47+pVWWqFMK9LSKyZ8ckN0+6PRBzUAPINm6S3c ZOdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xqhXud9D; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id q5sor23517975pls.13.2019.04.04.01.16.38 for (Google Transport Security); Thu, 04 Apr 2019 01:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xqhXud9D; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3WFDGlXmYECw79Q41NjIHGfPygiaXYVxcsbulVh6YIk=; b=xqhXud9D8ZzCmeNC+QrKKIVT/UiIn9dig1QYWFOsNlIqPrHFW6xklV/clsCXg5AZDy UG2AlkD/QMa24G9mgqBTIcQUMVO3uUsYvrwcCRCVnY6GGYVYJlPWJY+vNP4C9/KzgcUG gJur1UWcQMxN5XJ/Yi28RoJ2LYVFTOHTYMUoAQYHFGMiVHY8s+t+UbaF8jFhjdyy1Diw RPU1i1ZGBIGr8BWShbl8yeHdIXDcJSez62uEOSRysvspiUCo1GEeq59HRq9itOxTT0ck w3UT5zTTpVMmfHlarxqEZYRS3nWhTyGgxbesnz13LF+uQioZbARJJkkplj/Bi8JXPTCb qzeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3WFDGlXmYECw79Q41NjIHGfPygiaXYVxcsbulVh6YIk=; b=V7Kqkm5uN0QL0Z2GVUyWNfUbDP/nxEIg1YZksEsDz9iQQ4i4wFM26U7bZKWn4vN8cD bELQhfZnITgy6yjjL9IqV9Gt/+wX84WxgGO4G732LofWHyWklMIZUidQUvkVVx+qLnPn jA8g7KDiowYTW0tD+4h/uhmpdbXsQUOogeTET+wDSBOhxQU3xfIGudM39YdDI4BcoEkm XSFbi4ykJF6iNYlTtPnoKUKxI4Pp8vgJVribDw4OCWQMBHhWRdnL92Tb716tpHba26ue 0meBneCbG6ygZlx2qnnx7jhZCL2QsCg3q7N/RZG1Am3kF9Rg3mH30CHuntODk761dVFE ri0Q== X-Gm-Message-State: APjAAAVD5iROWnOMhm+VtDtFwbqfrYKEZ2QuJgQVrZHP49NE3PLmHclK GSq0h8KK/bkzrKcsF/X1TKooE5MN X-Google-Smtp-Source: APXvYqxOJZkdZc7XRyOpy0yck6xh7db+3GYFns8oLKKHvkJELSlhfGsMaakrZsTuwxhQpS0eV8bZUg== X-Received: by 2002:a17:902:8349:: with SMTP id z9mr4817116pln.144.1554365798362; Thu, 04 Apr 2019 01:16:38 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:37 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Tanglei Han , Zhuangluan Su , Ryan Grachek , Manivannan Sadhasivam , Wei Xu , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [RESEND][PATCH 1/3] arm64: dts: hi3660: Add dma to uart nodes Date: Thu, 4 Apr 2019 01:16:26 -0700 Message-Id: <1554365788-25610-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> Try to add DMA support to the uart nodes following the assignments made in the dts from the victoria vendor kernel here: https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide&keywords=p10&fileType=openSourceSoftware&pageSize=10&curPage=1 Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by: Manivannan Sadhasivam Signed-off-by: John Stultz --- v3: * Remove dma enablment on uart0 which would use reserved channel 0 --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 1734675..37a997a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -484,6 +484,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf00000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 2 &dma0 3>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART1>, <&crg_ctrl HI3660_CLK_GATE_UART1>; clock-names = "uartclk", "apb_pclk"; @@ -496,6 +498,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf03000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 4 &dma0 5>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART2>, <&crg_ctrl HI3660_PCLK>; clock-names = "uartclk", "apb_pclk"; @@ -520,6 +524,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf01000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 6 &dma0 7>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART4>, <&crg_ctrl HI3660_CLK_GATE_UART4>; clock-names = "uartclk", "apb_pclk"; @@ -532,6 +538,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf05000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 8 &dma0 9>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART5>, <&crg_ctrl HI3660_CLK_GATE_UART5>; clock-names = "uartclk", "apb_pclk"; From patchwork Thu Apr 4 08:16:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 161765 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1301282jan; Thu, 4 Apr 2019 01:16:41 -0700 (PDT) X-Received: by 2002:a17:902:9a83:: with SMTP id w3mr5005296plp.241.1554365801531; Thu, 04 Apr 2019 01:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554365801; cv=none; d=google.com; s=arc-20160816; b=IccEcNX9SAV7mJvOZl63MXVqnOmqHqjMBhZzsJmK8e5opREWlMEQd19d81aQXlRt+y M9Fh9g996Pki3/Imac9ybtDricIowWJAh4KIN1bwGnLN/eIHjrdI/fnRevls4a16NX3T ov+ZmTX49Eiap1BgviaM+F68Q9U+r5AjcPpo38Akwx+AvtmYw9GOnk7Ac37DZ/TVZHCD +TOKEh6xek2aUVRzugeHG9dhyhHYF+oNUVfcpg6b7u8oqROIUi/+m8Jrld1GZ9AOsf0Z DGqDOznMi/uqyXptOpE44SJid4IaEmK7LHGVOnAwArdH9gcKNpFjhz9zzCZiW2upuWsv C9iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8TATOwz6aXOPqLspdWK5FSdnAdwr3+Rn9JXDFFJJK1Y=; b=WqVThOxfutrmvP4+/l6kgHBLW68Tvy2nzjmQBS9dxbqQIt/PsrclHSuawYKZPZr1XD /W94yWCZfwsglOgpD69D/g8ShTdcqwTKOCAwqGxcPBcsDHYG2RtmWsLmBa146KB0/I8r b9cgek1VfMUR6oNvH/jhirWCIYhLuaGsM3/t4MPpKVhzEsq1jtO2qgF1BDCzfXlaJ2Pp VgjGJjG4HcUMP5AAkZrktGBxg9lhIsQh/YnMZUeK+JGquLO6lDF3klSHajjuAR06hb3o DF7aiJB6UWdnFqt5ayyfIvatLDKdv4kjaDCHroLbCYgPe6lyAzDPAthbvbAoWWAoUU+t 6t9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlPyZQe2; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d8sor23701493pln.53.2019.04.04.01.16.41 for (Google Transport Security); Thu, 04 Apr 2019 01:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlPyZQe2; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8TATOwz6aXOPqLspdWK5FSdnAdwr3+Rn9JXDFFJJK1Y=; b=qlPyZQe2k4wk6pI34bnrMhkkRZAsgZ//8T3OV8/7UGiCthavaNdAmsoxLLn2DhBr0J fFRYvVVtuDiTHfbzsL3QBWEb9Px27LuXrIIqqVuLLZQfKMBbufQlcVgpCdul0L+J6JRM HO916R/L1nLQsrVJU62l1qjr8cqIMu2lSQCgdCQHjUjTze7L4U0nqvO9FmZxsGL/9SdG p+OgKbZt37sijCUVLZ9yiI5i9FB+JrejOB3rnrFEwzFQTB4oA9vEudF972/4tsD+IzM1 HXieFxpvBsb3vwJFlWTgwHSXgJ2wLEbPr29UxX8+7x2xooPga9J77H5rNx3pxRZX7RQL t9ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8TATOwz6aXOPqLspdWK5FSdnAdwr3+Rn9JXDFFJJK1Y=; b=gLF/sYkzcubpC6Uz0/eFZoq6ODQSURwnsZIyGYQLmATVNovro5qhrpJB+rt4jQGMs4 EKMs8OkmFP8sWOS1oTTrfO7zRgJDp3MA9jswEiRQNfv0UQoivdeIIx3tg0av7t5EYWaC GjC0Pg7vax8K6IGsbbAN8Z/TgGpEtUUERY0itgKcD9bCBG5rf/jR9igcCbGjSC+HxnRS iU2TBdVXwWfAZsFBsuk1rLLAODl98T5ccbJPq29V9UDPL8L1Yt9dFUtgx/17znFeyDcY ObC/GwKClgouvCf+llgoQtzV2q5zKmywEhb2argMfagDebXHQy9IIxPq565jhSAtRB66 Xo6w== X-Gm-Message-State: APjAAAVLxlyyqUBQK/y+N/p5cg7f90sih5sr+YtLTojfPbrRCj8k+2d0 3CH7BOAjwGi2RHE/Me9Fx5hRJ5AS X-Google-Smtp-Source: APXvYqye00pzihCc2KsJ33XnWNuJwdLWM74dx5TRNOni3qA70wB7lHM099I81RCMo2nW6Ego8xb4+Q== X-Received: by 2002:a17:902:b94a:: with SMTP id h10mr5040322pls.82.1554365801186; Thu, 04 Apr 2019 01:16:41 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:39 -0700 (PDT) From: John Stultz To: lkml Cc: Youlin Wang , Tanglei Han , Zhuangluan Su , Ryan Grachek , Manivannan Sadhasivam , Wei Xu , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, John Stultz Subject: [RESEND][PATCH 2/3] arm64: dts: hi3660: Add hisi asp dma device Date: Thu, 4 Apr 2019 01:16:27 -0700 Message-Id: <1554365788-25610-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> From: Youlin Wang Add asp-dma device to hi3660 dts Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by: Manivannan Sadhasivam Signed-off-by: Youlin Wang Signed-off-by: Tanglei Han Signed-off-by: John Stultz --- v2: Removed undocumented bindings --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 37a997a..7f92049 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -573,6 +573,16 @@ dma-type = "hi3660_dma"; }; + asp_dmac: dma-controller@e804b000 { + compatible = "hisilicon,hisi-pcm-asp-dma-1.0"; + reg = <0x0 0xe804b000 0x0 0x1000>; + #dma-cells = <1>; + dma-channels = <16>; + dma-requests = <32>; + interrupts = ; + interrupt-names = "asp_dma_irq"; + }; + rtc0: rtc@fff04000 { compatible = "arm,pl031", "arm,primecell"; reg = <0x0 0Xfff04000 0x0 0x1000>; From patchwork Thu Apr 4 08:16:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 161766 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1301309jan; Thu, 4 Apr 2019 01:16:43 -0700 (PDT) X-Received: by 2002:a62:ab14:: with SMTP id p20mr4445127pff.23.1554365803155; Thu, 04 Apr 2019 01:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554365803; cv=none; d=google.com; s=arc-20160816; b=j4v8M900qO+PpAT8c73hmZXT66vi2qB0tuZGBWxjtOkAxfn9WhQq8zG/3L/AVUO7WH 1xRHgOM0BWMt5o3g9qSVTtoEBqzwjDNGDllhMly2y4PFtCfG9hPkbi1Hvh6jNnpsbC/O DvZXCdyNyWn2JtC5fn8bE4G5R+BsoKtbG6P7env5p8b69GLDt8WHfo5MuNUaoOTJ1qaq yl73hhrRqoq5EqFkVLkxxiP60xDbd2sxi1JcaKuFVxwI/MTBMHivHfdfkcojJu5KlVA1 7lj9R43GPsZXviFR2h1go2g5y28x/2t62A71BBgQNYUsS3lqgwoIUrF0GI4o6yW1l7jE Hyzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KhgbgRH9XeCw4nvk0p0Dwx+VqDYiBCuQQlEnM4jc05A=; b=QDhIzVYWp8DCaRkpEDp89WWXz1LrSENiFQyqN8WSh56AVxseSMQWgtNDO5tE7ThJis T6/EN6Kh7lTyXXx1A339ZjRMxN91gohX2Jj81IJ5hKs6MZX6YCwYKgC8n2ZzZtLbqCqx SeBNUXb9eEo6rqzzPLNDt0rEWKFxY6WF8CDTMtCmiWwC/9tqKKgt24wtwQv40TLMZXru 5LPZeFtBGBZUN1gr0JAPAldi+IEdcMx3MUAp5DFuXpDOUx8Nc4yvYYuuVL82Gk6aztK1 fxqm8dDUx+6WseUUdM3zpltaqbQ/OHHxXQKEy9eML+7z+mL28jOVhP4AIkqCak7tSX5n nxtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YhYzhED6; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id cv7sor23428387plb.27.2019.04.04.01.16.43 for (Google Transport Security); Thu, 04 Apr 2019 01:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YhYzhED6; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KhgbgRH9XeCw4nvk0p0Dwx+VqDYiBCuQQlEnM4jc05A=; b=YhYzhED6uUTkU6u5uXoQT6MfOcOxtdeQW9GLsDdBais6mrTPxgTYFn94nawBmaXxFe Obxq1eTY3pi9dhxkYIKp3l9cyNO67By+aX/RWbQhVCEICXxgkpIIQn++sgtmdJSWt0Vj rvqg7QWjdM39RPu7y509kp1x7rhTNemBT0lzNYneeHW9uehGluK4Ulv2BhxuVjdUpbTW EKg2i2H+2rK8Sfw4Qa6fxaLX9dhniwmwi+byPmBz+96asrdCfLEa/S86uhy5Sq0tLNra 1NViXS+tdOM52X8KHf9IPY1egsj/8l1b2xe1Q/rmiZsyiKyLUbCLg4cO6qMRRUr3+emw Stog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KhgbgRH9XeCw4nvk0p0Dwx+VqDYiBCuQQlEnM4jc05A=; b=YozxSdoZSaYeUnyD8MfIrBSgJDYmxAm7qPTIbNw8UKXv4whpSl2c8fNgcB6VG/hYqE RWgAAu67LRPYq9M6x2zwenOdtXKNOgsGyL/fDTPPZlyVQfBXV6YAS7AjvgFFkPYUHmuX rGj8AZjICw0mO94m215Cvobqw57ZDShs/PI8s9TovlSyqQx0nbDNYwy73ajzLic11h3K b14RWRQzsUHrpP/xD42XEJhcP1peqYUuBu/CvPwN1iBOfzj894knfD0E9JA4L52E4bPs 2XdRGqES0YupjzRdsEEsFrQ6JGwUHyk96WjNBA/YQdbH21WkdJfMOX1t4aCuMKR6KqUM 9PAw== X-Gm-Message-State: APjAAAVvWqAwubSqg+LUfu2iiGSZTGifmfaehXmNYuKK2EsgiZ2Z0uns 2sN5kCQnEruVwYAI/KC2l3diXtEXTq71ig== X-Google-Smtp-Source: APXvYqwwZPtQ7nXCXE18CoJJUaXicMvExbJma7NjlfgZEKKuCiHkylHkUZOtjkoNXxhyRop2fE116w== X-Received: by 2002:a17:902:2aca:: with SMTP id j68mr4868134plb.233.1554365802824; Thu, 04 Apr 2019 01:16:42 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:41 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Tanglei Han , Zhuangluan Su , Ryan Grachek , Manivannan Sadhasivam , Wei Xu , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [RESEND][PATCH 3/3] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask Date: Thu, 4 Apr 2019 01:16:28 -0700 Message-Id: <1554365788-25610-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> A undocumented and unimplemented binding got into the hi3660 dtsi, and this switches that binding to the now documented one. Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz --- v3: Renamed to hisi-dma-avail-chan v4: Renamed to dma-channel-mask --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 7f92049..7a49aa9 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -566,7 +566,7 @@ #dma-cells = <1>; dma-channels = <16>; dma-requests = <32>; - dma-min-chan = <1>; + dma-channel-mask = <0xfffe>; interrupts = ; clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>; dma-no-cci;