From patchwork Tue Oct 3 09:11:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9981971 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 2F52F60375 for ; Tue, 3 Oct 2017 09:12:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC98287F4 for ; Tue, 3 Oct 2017 09:12:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 219FC28829; Tue, 3 Oct 2017 09:12:16 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 A3163287F4 for ; Tue, 3 Oct 2017 09:12:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751454AbdJCJMI (ORCPT ); Tue, 3 Oct 2017 05:12:08 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:56739 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbdJCJMH (ORCPT ); Tue, 3 Oct 2017 05:12:07 -0400 Received: by mail-lf0-f52.google.com with SMTP id 90so726074lfs.13 for ; Tue, 03 Oct 2017 02:12:06 -0700 (PDT) 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=k9JB6z+b2NkeeJFR76Kh4ffN1t4e1uq/vzwubSHHvkQ=; b=ABhZt6TVOK+ClufaDwdTEwTtvxh7zcuobkzwkwkA18AlbITVJMOiR0l30kXh2ujgCD wvZrNvQ+aLy+d9odgtL/JdH2eCPip8CjF9O3GwDqLUDX9pCm6p7MCCvkrs2Sr7VLODkP XeRDCRjhJo3hDjnXqHZuO0F5cTP+tlY8gZtuE= 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=k9JB6z+b2NkeeJFR76Kh4ffN1t4e1uq/vzwubSHHvkQ=; b=fGL76cpgohuFVM1fDHd/EREAFujGSQkWR/n52GHG/AsrV+Hm7FQZKXgX2320NTfO3s EBlh1XJyInFCbgcMxOKsJgSD/pHypukeyNxIzD01rwA+hbfI8p1PqSDEI7UDJLcnhaf/ YDbWDEDut2eD5jO8D6R87aTlYOgjkhaGU8d6P6pFVOZ07VQg2WCwNsjjwBCj/STxXSco MmSLZUkA+7AQ6NSufYsn3PqjEqTRSlmsvWE7+wBBLZ15wouSQHfJOnsQa03h0vIrgpnu FWAGV4hYmOphZnAIm/WIbx/vyOW0tMwhKH2GpVCXL/UO861LOvDC3ErMeIQuJktIQ5h/ tNig== X-Gm-Message-State: AHPjjUi1PB3zZEVX695M0Fo7kO9+N5NJVpIzYFF1TEF2aaxyvXkm9SUv W6HlNHSgTcdUi5t+gnc202fSQw== X-Google-Smtp-Source: AOwi7QC8a7EVH1BRopwwTmedizD/iZKapoX5w63OCNdCkf4XGJxh9ZkFZJuebDDc4SH5ML96QiRN0A== X-Received: by 10.25.235.90 with SMTP id j87mr4970370lfh.251.1507021925770; Tue, 03 Oct 2017 02:12:05 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id k184sm1942678lfg.53.2017.10.03.02.12.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 02:12:05 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Andy Gross , David Brown Cc: Stephen Boyd , Bjorn Andersson , linux-soc@vger.kernel.org, Linus Walleij Subject: [PATCH 2/2] arm64: dts: qcom: Rename SBC to DragonBoard 410c Date: Tue, 3 Oct 2017 11:11:55 +0200 Message-Id: <20171003091155.7138-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20171003091155.7138-1-linus.walleij@linaro.org> References: <20171003091155.7138-1-linus.walleij@linaro.org> 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 Naming the DragonBoard 410c "SBC" (I guess "single board computer") is not very helpful for users looking for their device tree in the kernel. Also the db820c is named properly. Rectify this, simply, do not change the compatible strings but name the DTS files in a consistent manner. Signed-off-by: Linus Walleij Acked-by: Srinivas Kandagatla Acked-by: Bjorn Andersson --- It's not like I don't understand that people will be nitpicky about this. I was looking for the DragonBoard 410c devicetree and could not find it until I realized this hopeless idiomatic naming. It cost me time and effort, and it is going to cost others time and effort. Fixing it. The other patch naming the GPIO lines can be applied without this one. --- arch/arm64/boot/dts/qcom/Makefile | 2 +- .../{apq8016-sbc-pmic-pins.dtsi => apq8016-db410c-pmic-pins.dtsi} | 0 .../qcom/{apq8016-sbc-soc-pins.dtsi => apq8016-db410c-soc-pins.dtsi} | 0 arch/arm64/boot/dts/qcom/{apq8016-sbc.dts => apq8016-db410c.dts} | 5 +++-- arch/arm64/boot/dts/qcom/{apq8016-sbc.dtsi => apq8016-db410c.dtsi} | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) rename arch/arm64/boot/dts/qcom/{apq8016-sbc-pmic-pins.dtsi => apq8016-db410c-pmic-pins.dtsi} (100%) rename arch/arm64/boot/dts/qcom/{apq8016-sbc-soc-pins.dtsi => apq8016-db410c-soc-pins.dtsi} (100%) rename arch/arm64/boot/dts/qcom/{apq8016-sbc.dts => apq8016-db410c.dts} (95%) rename arch/arm64/boot/dts/qcom/{apq8016-sbc.dtsi => apq8016-db410c.dtsi} (99%) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index ff81d7e5805e..fc46ab79acd9 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -1,4 +1,4 @@ -dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb +dtb-$(CONFIG_ARCH_QCOM) += apq8016-db410c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-mtp.dtb diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-db410c-pmic-pins.dtsi similarity index 100% rename from arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi rename to arch/arm64/boot/dts/qcom/apq8016-db410c-pmic-pins.dtsi diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-db410c-soc-pins.dtsi similarity index 100% rename from arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi rename to arch/arm64/boot/dts/qcom/apq8016-db410c-soc-pins.dtsi diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-db410c.dts similarity index 95% rename from arch/arm64/boot/dts/qcom/apq8016-sbc.dts rename to arch/arm64/boot/dts/qcom/apq8016-db410c.dts index 40b0d62861bb..86cfae4d2b9d 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-db410c.dts @@ -13,10 +13,11 @@ /dts-v1/; -#include "apq8016-sbc.dtsi" +#include "apq8016-db410c.dtsi" / { - model = "Qualcomm Technologies, Inc. APQ 8016 SBC"; + model = "Qualcomm Technologies, Inc. APQ 8016 DragonBoard 410c"; + /* The "SBC" (Single Board Computer) is another name for this board */ compatible = "qcom,apq8016-sbc", "qcom,apq8016", "qcom,sbc"; }; diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-db410c.dtsi similarity index 99% rename from arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi rename to arch/arm64/boot/dts/qcom/apq8016-db410c.dtsi index 1d63e6b879de..1300c11e5f0e 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-db410c.dtsi @@ -13,8 +13,8 @@ #include "msm8916.dtsi" #include "pm8916.dtsi" -#include "apq8016-sbc-soc-pins.dtsi" -#include "apq8016-sbc-pmic-pins.dtsi" +#include "apq8016-db410c-soc-pins.dtsi" +#include "apq8016-db410c-pmic-pins.dtsi" #include #include #include