From patchwork Wed Sep 20 11:14:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Gorski X-Patchwork-Id: 9961295 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 90250600C5 for ; Wed, 20 Sep 2017 11:17:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79DE428837 for ; Wed, 20 Sep 2017 11:17:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E901290B7; Wed, 20 Sep 2017 11:17:29 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 D9A5428837 for ; Wed, 20 Sep 2017 11:17:28 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=hZ+aXjUGsiM6zSf21Fvi/ARBax6KSRrNiUyx95bYPAo=; b=pyd0v4EvMFiJ2XKhrNBENeSBEh oRDmsxtX4qAnHK6gihIgKJSs3A8z6IAT9zY//Luy0AFSJH5HL9FpphWBk7xvT39M5wJSWkG4ED/gq /jJ7no4QSWDWR2VHV/8uXPu16GtSYK7PTtxV4xjcg5vWusrSQri8pyyi5DlV4noq1seA0+hP/Mf0l dzeDeLaet8kTIdaTRJDTlbgtC6T14DDoH2YT6G06UuaaghAZB1BQ20iSRha6Tza8L/6lMXaUIWSsj 9nTf+uYsyDYW/rDbdtYBBOn72z0zAl+qPPjFN4SFToxyHH1LTIv7CrnHf9X9VSWrBSx9kgzdeq9ji eitfzGMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dud0E-0002CK-1q; Wed, 20 Sep 2017 11:17:14 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duczY-0001Xe-IG for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2017 11:16:40 +0000 Received: by mail-wm0-x244.google.com with SMTP id m127so2132043wmm.0 for ; Wed, 20 Sep 2017 04:16:12 -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=0Bl/9j7Wf3jg8soLXiHN+cQvG9qEvrfOWjJAbdJOh9A=; b=DczwrIg6FXNgiFY1G5IZUPA43h3ND0UheGkOFQ5zTVC5AxXNNfyMHU6D3GSWtroPNQ P39fUGK89Wws59yYKpym79cuU/48HJHOiMMqbfwYUfUM3FRJ/wgZKsQLRcgr3INzT6oi W4y7ZADfJ4MFxEjIjcV/f8dtXbW6+w0P4jqfJt83T90ToVJ4moeVmkwIro6dbyVZ4wyN /q49xcRT1MA2vIayJ1dMDCGFbSOWbG94GgOtTpZ1KRr76o1iRRBFO1yBtNWDD5q+Imr/ cy2AL6nrq93AZyJtFpldwWQeVY5aOKn2xoClIuhaax6n3ZYRSslOldKPddF1AbmI4Dfl jIOQ== 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=0Bl/9j7Wf3jg8soLXiHN+cQvG9qEvrfOWjJAbdJOh9A=; b=Tiyl4Tqg6KXnTVybUpKZZijaMFfoKC5cK3DCNqX5T2bfYRqcFwqMEmX8DzubAuPg5A CR6a2gCvhSNghTD3mn+d2piuWNM6eRdi7r1J89iSWZ1B3brqTgr7yy4uwUQRunTdIbG6 8690Y8A09zRrsBFsQvvCTBJluv0X5U1NrnYmLIUzry3/2cQVxyiJGZpu2LiZ4bSumgqL hO+Qy53PRFvmK+RVlzXyA5JBCXQZuVQNvXgmUpDDXnBg68pXULE99vY8nn8n2fiEFQvh PwKdsvET0EKKB4jnCaobyPO412dRUs2YqjEqOwIq+wy4mCkAFWcWMlQ4P1iA2y+sUQuj y3GA== X-Gm-Message-State: AHPjjUgUR+EOj9Qh54Px3smpHGFcAsfiZjfpiV978/9UD3hOhcS8nfmD O5Dk7AlUpT9X62iFVWwpEBc= X-Google-Smtp-Source: AOwi7QCQUzEWsnmLPY28TSEG0/DLXww0ymtHCB0J/LZvjKIccm2dlW6X2y2jHiEzHjKW5K9YcggUow== X-Received: by 10.80.180.227 with SMTP id x32mr4194360edd.192.1505906170824; Wed, 20 Sep 2017 04:16:10 -0700 (PDT) Received: from localhost.localdomain ([2001:470:9e39::48e]) by smtp.gmail.com with ESMTPSA id s12sm884513edd.25.2017.09.20.04.16.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 04:16:10 -0700 (PDT) From: Jonas Gorski To: linux-mips@linux-mips.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH V2 3/8] tty/bcm63xx_uart: use refclk for the expected clock name Date: Wed, 20 Sep 2017 13:14:03 +0200 Message-Id: <20170920111408.29711-4-jonas.gorski@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170920111408.29711-1-jonas.gorski@gmail.com> References: <20170920111408.29711-1-jonas.gorski@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170920_041633_417878_64491FDA X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Florian Fainelli , Greg Kroah-Hartman , Kevin Cernekee , Russell King , Ralf Baechle , Rob Herring , bcm-kernel-feedback-list@broadcom.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We now have the clock available under refclk, so use that. Acked-by: Greg Kroah-Hartman Reviewed-by: Florian Fainelli Signed-off-by: Jonas Gorski --- drivers/tty/serial/bcm63xx_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 583c9a0c7ecc..a2b9376ec861 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -842,7 +842,7 @@ static int bcm_uart_probe(struct platform_device *pdev) return -ENODEV; clk = pdev->dev.of_node ? of_clk_get(pdev->dev.of_node, 0) : - clk_get(&pdev->dev, "periph"); + clk_get(&pdev->dev, "refclk"); if (IS_ERR(clk)) return -ENODEV;