From patchwork Tue Jan 9 01:15:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniele Debernardi X-Patchwork-Id: 10150807 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 79526602B3 for ; Tue, 9 Jan 2018 01:15:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61EE6286E5 for ; Tue, 9 Jan 2018 01:15:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 532CC2893F; Tue, 9 Jan 2018 01:15:22 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 5FE09286E5 for ; Tue, 9 Jan 2018 01:15:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540AbeAIBPR (ORCPT ); Mon, 8 Jan 2018 20:15:17 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35418 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755123AbeAIBPQ (ORCPT ); Mon, 8 Jan 2018 20:15:16 -0500 Received: by mail-wm0-f67.google.com with SMTP id a79so17497816wma.0; Mon, 08 Jan 2018 17:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=g2Zig9A84UE/avDV6xQd80onrOIE6JgbQU4c/Mp6k1U=; b=sh0XUmpjMw/W/NlE3Oab8PKP7nnMHOiJIqIpZha7h9qp6tSdaG6bB82auKWhRT9mt5 AfYLuAmngMjSwhvOqZ7pAwhhB5axC+lqGqD9e/fZE2dbVomNq1ODkrbqqKdWkWlUKCz6 E+5HiNUomKoT7oIMxea6eBgCh3omHdF5cIjorfsn/lWzKfydxLdYDVSF4pHM3+jBDHP8 Q0VS55DVrd2C4qxTFl4GdPI826rht6nkz1DbhiUSXDvvEo/FBl+lFYwAXAvA7R4Sixe/ m1RhAyXPEl0ltjcjXLCM+ddYcOpcBMKAOOsJxlR2D2lPuwCzJmcfY4n4EBhmbbMbve3m ANbQ== 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; bh=g2Zig9A84UE/avDV6xQd80onrOIE6JgbQU4c/Mp6k1U=; b=nuxdmI/6xa9ofb7YfHHUcFzjrDs4awwUzpAO/BvRdzj02DDfR3bdRIvUDTp8tAL99t 2Zf+5xq2uIxNx4cylNwLsYFvreSMzsBVTVkNZnddCZc4rkBpZXZhyjMC9WMjd1h0tupS 7ZXaCKyj9FGmTsxR6qmOZvUpykuIAIoz8fem5KLdzFkmopY26E9BLXwqyacYgiYKbPCl 81OI6X7lgY+tiMrlW12oVOetas9WoffEbDcK3/W7BnDMMheZq4N92RmYaUG25YlaQghJ FOhDghPrhFnsem732GNaHd/vx0TXCUvkdvPi8xufA0rlP0fH3UYLijakfbp0DQof9EOp +VGg== X-Gm-Message-State: AKGB3mJcDWFT2weDdrZxOP8POVBP8f81sK8uZa6MdrFL6b5NodVU3Qmj Mg6P4LZVF8aidYKUbR18MYCcb/qmm7U= X-Google-Smtp-Source: ACJfBotma6Iejm/JHE1SMfYZm85CQcy4kWjNbfXTEmAGLfwo3qinFnoN/uv04bK08lb1rW2cnaQHCw== X-Received: by 10.80.240.134 with SMTP id v6mr18873587edl.48.1515460515106; Mon, 08 Jan 2018 17:15:15 -0800 (PST) Received: from drebrez-laptop (135.221.202.62.dynamic.wline.res.cust.swisscom.ch. [62.202.221.135]) by smtp.gmail.com with ESMTPSA id c33sm7511691edd.36.2018.01.08.17.15.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Jan 2018 17:15:14 -0800 (PST) From: Daniele Debernardi Cc: Andy Gross , Bjorn Andersson , David Brown , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: Add initial DTS file for Samsung Galaxy S5 phone Date: Tue, 9 Jan 2018 02:15:13 +0100 Message-Id: <1515460513-14443-1-git-send-email-drebrez@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This DTS has support for the Samsung Galaxy S5 (codenamed klte). Initial version have support just for serial console. Cc: Andy Gross Cc: Bjorn Andersson Cc: David Brown Cc: Rob Herring Cc: Mark Rutland Cc: Russell King Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Daniele Debernardi --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0381e9..abb0ab1 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -729,6 +729,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8960-cdp.dtb \ qcom-msm8974-fairphone-fp2.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ + qcom-msm8974-samsung-klte.dtb \ qcom-msm8974-sony-xperia-castor.dtb \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts new file mode 100644 index 0000000..eaa1001 --- /dev/null +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974pro.dtsi" +#include "qcom-pm8841.dtsi" +#include "qcom-pm8941.dtsi" + +/ { + model = "Samsung Galaxy S5"; + compatible = "samsung,klte", "qcom,msm8974"; + + aliases { + serial0 = &blsp1_uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&soc { + serial@f991e000 { + status = "ok"; + }; + +};