Message ID | 20170603232652.21401-2-alexander.sverdlin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 EA71460363 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 23:27:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBFEB280DE for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 23:27:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF8CD28464; Sat, 3 Jun 2017 23:27:56 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 8BF72280DE for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 23:27:56 +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=P/rL67clNxXRfOF/CKTmD4Z5dekyAWZUN1o2ikAYSM8=; b=I5uGIrLkS4BeS77/Js6OLm17+L 3HxvBDJn+qvxAXyBBNtNLcgWtG8XYmWslDPjeh9GfAVPskete3xg9avZ1C8IE1mHf/mHTLcs8qWlP FJCtrUo78siXJwjac8ncltEmeN05tX3auzyDN2qz7bL35U0Ch/8LhBT5zQdHfTxy1F3p9WmR14c6c mfGTtEkS07wbu9Xl96ItK9zjppLODimPHPCqZtqgJAaA2caQdgHm/p6gEpNaNuAyHdhqep6ckrXAL jGWaJ28wyVM+BT9MBjlKhrjqP5IUAdY/uAlNhQVYhUSakcy0wRWsJ1g8dqhOftUNVqeyfxQsmnktS 2Z4530hQ==; 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 1dHISY-0000n2-4f; Sat, 03 Jun 2017 23:27:54 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dHISP-0000bw-VA for linux-arm-kernel@lists.infradead.org; Sat, 03 Jun 2017 23:27:47 +0000 Received: by mail-lf0-x241.google.com with SMTP id u62so6869572lfg.0 for <linux-arm-kernel@lists.infradead.org>; Sat, 03 Jun 2017 16:27:25 -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=uY8FmZdpxwnpPmchi8V9j/ze4Ak3Jz59EMZAsTNyqPY=; b=Pr737nb5kLY43/zbgCbasoSBTfhQ101xhjlLVfkg8aDDc2aN1gQj7jI1NwynOVpyoP vzPXCKuGMrVwgd46MwjR+Uif0hGLKqMDwBGtZlFo9Pkf1AFCdja3eG7ukUhd9K9a0u+u TQ7ZM+xkzWp6zTwKDh9XY9eS3ubMbwr2mhKNVmJRAm/M3YOD3VuoSr+uJpLSe7GcgDdV hJSaZCMg6SFPSlF39ZVm+I9cWlf3nL7NcJB4QKUIbU/b2Lhk3AuvGwGhqsLP6nrsg3jd noBksZJs3aM4bKr/JLc9QFLMA9/C1Gyki5GxLPjaNWL+akOO3nUDu6aHTtQnQpTmMQFm 1nUw== 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=uY8FmZdpxwnpPmchi8V9j/ze4Ak3Jz59EMZAsTNyqPY=; b=HS+IBs5MFOuFHns3mLPFHXgqEYXQ0S5lQvT9RL0Upkx8yR8cHzbDOMqSZKmsoWxFSy cpCmt68m2HPIXuqPaq91B6WLVtzVWYzlI0jS7L8VvAK8CYJajXomMokrG4FcwPYw04wo eCCvW+WEiWetdgU1YwRlY8wrLApYccmbx1Ze+95/DDtscpT/n+21jRDLhIrufq991c7g qkp/vzGkNYYKS9nJdJxmMqyjip7Bi1z73Rv0jS36IZL6GAHEawcXAzNbDs6qtJOlu4eV GPfr1ZB3Bv5zqavjezMCyfZ+4z+YftfTuWwPK9ut6/owvGaXgJWrgd8ZIJgC7qEjfl2Z aWiw== X-Gm-Message-State: AODbwcANGzJQjNW6x4AmxJgsDwcul59D1TN20XOLAbx91bxOXs+nSpqv C6y3e1UBlkb/4w== X-Received: by 10.25.205.132 with SMTP id d126mr1307710lfg.131.1496532443540; Sat, 03 Jun 2017 16:27:23 -0700 (PDT) Received: from giga1.localdomain ([195.245.52.203]) by smtp.gmail.com with ESMTPSA id 10sm1078869ljf.36.2017.06.03.16.27.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Jun 2017 16:27:22 -0700 (PDT) From: Alexander Sverdlin <alexander.sverdlin@gmail.com> To: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 1/5] clk: ep93xx: Implement clk_get_parent() Date: Sun, 4 Jun 2017 01:26:48 +0200 Message-Id: <20170603232652.21401-2-alexander.sverdlin@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170603232652.21401-1-alexander.sverdlin@gmail.com> References: <20170603232652.21401-1-alexander.sverdlin@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170603_162746_242255_DCEFB29B X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Lars-Peter Clausen <lars@metafoo.de>, Ryan Mallon <rmallon@gmail.com>, Hartley Sweeten <hsweeten@visionengravers.com>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Hartmut Knaack <knaack.h@gmx.de>, Alexander Sverdlin <alexander.sverdlin@gmail.com>, Jonathan Cameron <jic23@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index 39ef3b613912..b9cd9d7da14d 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c @@ -475,6 +475,12 @@ int clk_set_rate(struct clk *clk, unsigned long rate) } EXPORT_SYMBOL(clk_set_rate); +struct clk *clk_get_parent(struct clk *clk) +{ + return clk->parent; +} +EXPORT_SYMBOL(clk_get_parent); + static char fclk_divisors[] = { 1, 2, 4, 8, 16, 1, 1, 1 }; static char hclk_divisors[] = { 1, 2, 4, 5, 6, 8, 16, 32 };