From patchwork Sun Aug 12 13:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 10563661 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A59771510 for ; Sun, 12 Aug 2018 13:33:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97629288EA for ; Sun, 12 Aug 2018 13:33:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B85A28924; Sun, 12 Aug 2018 13:33:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31BB228BFE for ; Sun, 12 Aug 2018 13:33:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727870AbeHLQLe (ORCPT ); Sun, 12 Aug 2018 12:11:34 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40904 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbeHLQLe (ORCPT ); Sun, 12 Aug 2018 12:11:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id y9-v6so6240690wma.5 for ; Sun, 12 Aug 2018 06:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z3wggtHzNbEY4eg0Qb0ks+lGVPzwqzHq0jc4d8EvVog=; b=J3mdfedxLFQWBg65XcE5Z8phLg67nFoJCvi6GrXEWRBMGaEi+ZylYdQm4og8xoMsWH prRx/pvD2IqXKxQS3Eu6vNGkNYeYWHiH1HePPCTvduA9C0BdFBWu7IyxkWk5hjt3i+0i TilQ3k2a3gh0AigcYBeriPG9rDW6vwznRCkeyEA580Pnd5IwM53cuWDclTVHcwcOtfl7 WAdNpPfcQZYn+7YOL+3eXLQ7Oed6wM5WNUU5sYB/mnBmY75SZfYn/wDmLWZmIAmRlIYX r8S0j5ny2iXzEDwZ39BzmtUNAFT+SXnzBG23asQ1r9YW/5vxIX86iGO6GctSMKLxge4A JZQw== 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=z3wggtHzNbEY4eg0Qb0ks+lGVPzwqzHq0jc4d8EvVog=; b=hv+79SaMYqB2p7S5LSTm+CZhuKjI9Qhig2et8IAW/ziQdHKsXtrchHM70g5EBIZ16V RORySTaa7ZkVuZQN9iMb+WLCk1qNfuOpryWIIOfJaUjSj1sGU8HKnjrQi0oCuZG4aYak BIjOVLn2AhP+4wZ0aD6cwyAkB5rtRlM0nd5kKA1kSVypiGdZpyQR9Tx8PPGX9UPsv6ds ymuVMVcGuxGODIfYN8XMCz6CgQ4QVtM4B9EK0PisVr6M0EIjycCUVjALEudeAoBlTIfO 2oC+TfRIzORrXUcRRfKwq4W1faH+wegtpH1gLBY+BxqC5U4C3ugCSdFhA9q+CmoOD6Hj 9huA== X-Gm-Message-State: AOUpUlHapSc2cOWwopJGRPZjsON0LaGbXxY46nD69UKW9sRviA78UZKY GzkwtBWTnQ7eEkApEFnuvNM= X-Google-Smtp-Source: AA+uWPyDVaLpnMYCpnKReDeaZh84oARF9Xt+dfWxrGCIt5gyGJrJifVHrLF6vAiqt1WpuVcLrT4QLg== X-Received: by 2002:a1c:97cb:: with SMTP id z194-v6mr6082656wmd.35.1534080808595; Sun, 12 Aug 2018 06:33:28 -0700 (PDT) Received: from localhost.localdomain (ipb218f42f.dynamic.kabel-deutschland.de. [178.24.244.47]) by smtp.gmail.com with ESMTPSA id f6-v6sm14987436wrw.78.2018.08.12.06.33.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Aug 2018 06:33:27 -0700 (PDT) From: Eugeniu Rosca X-Google-Original-From: Eugeniu Rosca To: Simon Horman , Geert Uytterhoeven , Yoshihiro Shimoda , Sergei Shtylyov , Vladimir Barinov , Niklas Soderlund , Laurent Pinchart , Jacopo Mondi , Magnus Damm , Kieran Bingham , Takeshi Kihara , Ulrich Hecht , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org Cc: Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH v2 6/7] arm64: dts: renesas: r8a77965: Add HSCIF0 device node Date: Sun, 12 Aug 2018 15:31:48 +0200 Message-Id: <20180812133149.7710-6-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180812133149.7710-1-erosca@de.adit-jv.com> References: <20180812133149.7710-1-erosca@de.adit-jv.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix below DTC error: Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:36.1-8 Label or path hscif0 not found The DTC error occurs *after* the addition of r8a77965-m3nulcb-kf.dts. Fix it beforehand. Inspired from v4.12-rc1 commits: - commit 68cd16107260 ("arm64: dts: r8a7796 dtsi: Add all HSCIF nodes") - commit 6d50bb893504 ("arm64: dts: r8a7796: Enable HSCIF DMA") - commit bec0948e810f ("arm64: dts: r8a7796: Add reset control properties") Signed-off-by: Eugeniu Rosca --- Changes in v2: - Slightly improved the commit description. - Note that this commit could be replaced by https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git/commit/?h=b8e3c8e17611 --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 4da479d3c226..d04a8b671cc2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -451,6 +451,24 @@ status = "disabled"; }; + hscif0: serial@e6540000 { + compatible = "renesas,hscif-r8a77965", + "renesas,rcar-gen3-hscif", + "renesas,hscif"; + reg = <0 0xe6540000 0 0x60>; + interrupts = ; + clocks = <&cpg CPG_MOD 520>, + <&cpg CPG_CORE R8A77965_CLK_S3D1>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x31>, <&dmac1 0x30>, + <&dmac2 0x31>, <&dmac2 0x30>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 520>; + status = "disabled"; + }; + hsusb: usb@e6590000 { compatible = "renesas,usbhs-r8a7796", "renesas,rcar-gen3-usbhs";