Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp604584ybh; Sun, 12 Jul 2020 17:30:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznG712rohq/NJpxm97EdZCZTyhhNupw7HF2QqP/fq9Ca4FrEpIbHngL1avGAXKLOk0UT10 X-Received: by 2002:a05:6402:1841:: with SMTP id v1mr75508475edy.198.1594600213192; Sun, 12 Jul 2020 17:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594600213; cv=none; d=google.com; s=arc-20160816; b=WES+2WK88x1cDZu8WZVF7g2cOLG7U7ndsoRYf1nQ4od8mPOvAFxrw9wL4aPqk52Zv0 IRZhosj6bg4q1UwLDihW5CpQP0lIolDxSmwlL68K0606+8ZGQ+589IDWAssHP7mcafVz D55JW1aD4s8QQLTxrcLI7EIr+mBJo2lefVMRBPupwEf6bF4++Z/myIZiK0e3yMAHy3y6 cGMQvDdtKhZeAXpIM4+cRs6DsFaHUemRIrDhojwJellVnzzqP4W0ORfRUIjx2Z+zhsyW 2pcuKicKK2XEVHvN19R3118xhnzTc0nH9aoAEsmRn3JaqlmQijR+Mx3rmRKTmYGp+X3j H2Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4yQWsV3hafAnRd1iMkIJnrGo0I7x9nIZbKsXQ6vuOoQ=; b=tYL2CGk5XFPwtnHkkx9l5vxtKfR5P6rlxeWH/be8y8K46vg72JKD7Jzlzga4ytiPZn n7rTvftHXVXE6c+ZGGVzWWGf0WnB2s9egXtRfFzCUKIk2IDQ/HB3Y/UmaPZL/qQP4F2g zwWOXFT9+DtfqzICU4iilQaF33y2f+VRx0QLxzQHj5+ybdUWD7JN4gHHgbZFJNvktUts XRP6PskrlEKW5l0RjiJUKjYcTzqHUErIT/kTQ+BvQ2F274JStN87XnjbY0vkNW7+qBys VrrTc6Q2j3HS44J1YKdPi17fcMSUDzslfVuLJ9iRYg2ivN2p573uAyJFiV4P1NiCHrGy 8kGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l66bxH3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si7263613ejb.713.2020.07.12.17.29.50; Sun, 12 Jul 2020 17:30:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l66bxH3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728981AbgGMAZh (ORCPT + 99 others); Sun, 12 Jul 2020 20:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728872AbgGMAZT (ORCPT ); Sun, 12 Jul 2020 20:25:19 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C09B8C061794; Sun, 12 Jul 2020 17:25:18 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id o38so8785060qtf.6; Sun, 12 Jul 2020 17:25:18 -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=4yQWsV3hafAnRd1iMkIJnrGo0I7x9nIZbKsXQ6vuOoQ=; b=l66bxH3T0hYEOojWemVsG55gvHVVNdfgRx+tePJbX2Cz189Ng79z8UFE/bpG/e+IYN 7Pny8+xY+hGzQSFkGIsEItZ5NoHfSLYcTFTo2E2M7xFpOw4jhc+QXTgZSVPV6UarHuNu MwqG4lLCBzNXJ6busNkOTaafnuBFfyDX1tqcrJx9LyHCR0K3h6yMlLfNpm04E1wClKnj DkkAKtd0Sfzc1BHUPI7a0ypnXpH6VzZVjPvmYpAK53Su5yJ82TOgai7NpXKNWIrLVgJC VqO4MP3rgqdtKrfJSCYPWU2RXqrvKjNCpqbHNvfqobQC6xygU5fdmI7wrANO3j8+ES7M YUbg== 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=4yQWsV3hafAnRd1iMkIJnrGo0I7x9nIZbKsXQ6vuOoQ=; b=A63HALtYZeqAhcVuWq8N8RDDN/nVr5hmksp8oak3z1Q5s4cgAm3eDKmQWDVGb/R810 WA+hIDyoJyL8UMNnC8o1udFK8lgkvQ3Toqq9jy2TI77R6oMkr/isaWCmJiyflA3Mix5P 5EF64FGMIPb3JmMTvxInn+QfdMIfMDL1acgLOW4WC0cFJB63tmkLiMCapta26cpmv16z KML6Ygi8D7WAIQ+fcT6UAzT9s5EliR/xgYLBjNmauZ3zz+V37v6+2W76q9QCC8jqu/UB +rDD8bfWgyCCsIsLVJmfi5z499set5GZsXQ3x7hCfNsQOH7f8nEtMBiaprcPcJ+zhJBH uh5A== X-Gm-Message-State: AOAM533psCU0MN3wyygQJ+jdN6qnu5RFbO735N6SXpOkfjMACJYHJwNw bMUoMFuHREYgv1+6uf+VXA4= X-Received: by 2002:ac8:36ad:: with SMTP id a42mr84650612qtc.21.1594599917601; Sun, 12 Jul 2020 17:25:17 -0700 (PDT) Received: from localhost.localdomain ([72.53.229.195]) by smtp.gmail.com with ESMTPSA id u5sm17044309qke.32.2020.07.12.17.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2020 17:25:17 -0700 (PDT) From: Sven Van Asbroeck X-Google-Original-From: Sven Van Asbroeck To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v1 1/5] ARM: mach-imx6q: do not select enet PTP clock source on QuadPlus Date: Sun, 12 Jul 2020 20:25:08 -0400 Message-Id: <20200713002512.28742-2-TheSven73@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713002512.28742-1-TheSven73@gmail.com> References: <20200713002512.28742-1-TheSven73@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On QuadPlus, the enet PTP clock source is selected via the clocktree. Therefore it should not be set in the machine layer (mach-imx6q). Signed-off-by: Sven Van Asbroeck --- Tree: v5.8-rc4 To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org arch/arm/mach-imx/mach-imx6q.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 85c084a716ab..fcf211492f6f 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -169,6 +169,10 @@ static void __init imx6q_1588_init(void) struct regmap *gpr; u32 clksel; + /* QuadPlus selects PTP clock source via clocktree */ + if (of_machine_is_compatible("fsl,imx6qp")) + return; + np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-fec"); if (!np) { pr_warn("%s: failed to find fec node\n", __func__); -- 2.17.1