From patchwork Fri Apr 26 15:49:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10919295 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 A19851398 for ; Fri, 26 Apr 2019 15:51:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90BA728DA9 for ; Fri, 26 Apr 2019 15:51:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8502328D3A; Fri, 26 Apr 2019 15:51:04 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3971428D90 for ; Fri, 26 Apr 2019 15:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HKBzv28txPbROLJW23EK6OqXmW1R6ewYlgbmQTgxivk=; b=Ryik1zqexUNsiD E/s75eaKkhAMqLtKjOCJWPaoZq83CPPJywFWdu6kzT3+8tBhSdWeV78ZUSrbT9cq1uGSE36Owv7vi NsG6ePeMpBQACshr3PDoHbYxBbQAba4dlqdZ+M/WHIsgPHbbUSsV99i8FaUY5wnN0935+uJGu46Vp t4+CnNNMf+OqiLxdhUISZxnrcYqgaRluHjlfEfZmeAethhVeb/Wbp7XaaNKSKROyeZsK4Vosd/b2b 9aI2nIviZy/zp+7YXOgSWTrJ3SkFJTCN+lMCX51ooyLq+NviNIRt/sJfKKFg5YId0dbO6gxIbAXzb meuizhWyClW7UiVF9Sxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK37u-0002hI-DA; Fri, 26 Apr 2019 15:51:02 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK37r-0002g0-BL for linux-rockchip@lists.infradead.org; Fri, 26 Apr 2019 15:51:00 +0000 Received: by mail-pf1-x443.google.com with SMTP id h5so1943989pfo.0 for ; Fri, 26 Apr 2019 08:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8HgTT5FFWp9LGZ+GQUgEQrP/qpv6/c8meFnx4zcO6tA=; b=HQBAGUh3hy5sTA3TIaIpCFm85k9/gcpOGowD8+lRyuTUPrAh4cH8yDGVx5cTi2gAbg fB/3WxcI5v7uXXGABnfHnlBg7MHdcVlheZydCDMLEYuK6qQrD6ztq30Y8FVc1jQOhVBC xQJi9mMIkYYZBjxXHju+pLTLmWyt7+irnN8lo= 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:mime-version:content-transfer-encoding; bh=8HgTT5FFWp9LGZ+GQUgEQrP/qpv6/c8meFnx4zcO6tA=; b=plFYERLeCPAeVFQlHqaq6CEQn30C8ApNi5TTFj1SqRU+0Tri/h4d5oHmjEKxP+lGlr 1LCqWJMo4Vq2Tx2mG5C6KNHKV8O5pwOkW/jF+1fiqhmSvOnoFa9Van4KfzqJms7Nmp6l Tv4JAjErDDk+5DMzTxxdXDXN6nIGcKVitFlThw+7cZtzxcj+Cnm5Zhgs40JBFmzaIsKB bpcmYXGuoicfKirf1ICp0cz0pNSKUY/EVoqoSJbxapOF8Db9XD+IPaYW3/oHRvFrD2Yi olnNFNj4hOnGkx/qwQfxqUuzJxp8VMQrsIZXrT0C1pUvKD/lAc5nbJn1O9vGkuy+wYox 7qKQ== X-Gm-Message-State: APjAAAUWyDCxESFfFVHqPJqv0YLXBRiNgjfMp6HwnWrI1YRTJbgem9Na JU1PPEI29c7WG2K5xWvMuT2muQ== X-Google-Smtp-Source: APXvYqxasJaTZoWfKoLBKA8oXvMFinmCXaMq/xqucaW2YLKf5vyOOzSkSXvLLIxKnQ2hMfR9zclJ7g== X-Received: by 2002:a62:4e86:: with SMTP id c128mr47149908pfb.39.1556293858769; Fri, 26 Apr 2019 08:50:58 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id e4sm12019017pfn.185.2019.04.26.08.50.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:50:58 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Subject: [PATCH v4 03/13] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Date: Fri, 26 Apr 2019 21:19:50 +0530 Message-Id: <20190426154956.29567-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426154956.29567-1-jagan@amarulasolutions.com> References: <20190426154956.29567-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190426_085059_386235_85491F72 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP U-Boot always managed to use Linux devicetree files with respective bindings, but on the other hand u-boot also has it's own u-boot specific nodes or properties example u-boot,dm-pre-reloc which is required for SPL_OF_CONTROL to allocate particular node. It is always a better job to add these u-boot specific nodes and properties into separate dts files which has an extension of -u-boot.dtsi This would help to sync the devicetrees from Linux whenever required instead of adding specific nodes. So, create initial rk3399-u-boot.dtsi with sdmmc u-boot,dm-pre-reloc property so-that the subsequent rk3399 boards can include the same on their board dtsi files. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi new file mode 100644 index 0000000000..f533ed95eb --- /dev/null +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +&sdmmc { + u-boot,dm-pre-reloc; +};