From patchwork Mon Feb 11 07:39:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 157970 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2302702jaa; Sun, 10 Feb 2019 23:40:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IYfNeUV1nZEzmDPEyjxm33JDp/tzuo6vV180zf6pWO5D62uKhPQHGFTiQSDSVqga185tyNG X-Received: by 2002:a17:902:9884:: with SMTP id s4mr34643448plp.1.1549870818372; Sun, 10 Feb 2019 23:40:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549870818; cv=none; d=google.com; s=arc-20160816; b=JE9XgNi0ImaaET/MKrAto+u+WfYkrV3HupyzFQeQm+jqS7naKkWANGTDFhfctvdDhR KP1CYKrgh55Kp5Tks2MVRWLtCXubRF3jpheL4FRbXmh9TVsjVQlthppvLosWzwVZAVqO MepyZ4o+T7LRraFWWBcozxJKi89UQ4geZoA/S0ji8LuJ+uPOi/nRjI91bb2MWS6gJIN9 EOhrYgRSvU/zAiQb9IE0NuXKfvyj1AJTRtLN5LNN9vcvnD1j71bXTc40CJesGf2tePNF i1n20x0DBH9TJmDCUZFniUfaXAIk0JyUdT28XGfEqYw6AJ1k6IllcRmzhydClNjkU1ni fWxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RNGMkHIAnRcYSsLmTgG0RSfIse9TZ/IP2aMTJztUPXs=; b=nuwrxfcTI7NZrZNg3Mnh6pEoBSRjsQWdxHpsAqkmMgrvl5lx2OdbhRZDvWtp0e79Mf 6EByYjgMJnwHQwHG3zTieH+U9K1zlMe74K2DqQ1ySNMApHP2fJovisLR/NAono6YJBTq aopryRD1OLKmAe/ZFSdrht4rpw22J0UTjOG/DWni6shYaZFgDQWMsUbsbABqA8U+knyo hEK9493R52WwRrRZ7gMawWchxHAYhJeRa2e+qk9swDM0BgUN5qZWYuETFCX62zLyLxhf XHPkpFAwf3+RAA+YqoJHkZxe1+TpNofrU9G4mqXwgOV78s/TyC/v8neV1gdmpntRWb7h JpZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KV5FfCtm; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b86si269925pfc.217.2019.02.10.23.40.17; Sun, 10 Feb 2019 23:40:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KV5FfCtm; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726908AbfBKHkR (ORCPT + 15 others); Mon, 11 Feb 2019 02:40:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:57440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfBKHkR (ORCPT ); Mon, 11 Feb 2019 02:40:17 -0500 Received: from localhost.localdomain (unknown [117.99.91.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6428B2084D; Mon, 11 Feb 2019 07:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549870816; bh=Ledhq4vfy+28Vy2ZO4XGF0xdR84uxJUp/3eZNbAY2nQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KV5FfCtm8Q4yBbLVr1URQ0hzLQu2baqVeOSIEwp9igPQeUwhXOf+HdSlbmHWxXEke RbD8+un4yQURrHBqDwuUHDpQ9HvGm5Fn9XRcudnNkMDyfPbdTo0tgt3cFkZ+Ohy3mO FlHxwR7IBy+svsVozjpDkesHFcG6EUgXO3swXhNk= From: Vinod Koul To: Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Taniya Das , Andy Gross , David Brown , linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, Anu Ramanathan , Shawn Guo , Vinod Koul Subject: [PATCH v2 3/3] clk: qcom: gcc-qcs404: Add cfg_offset for blsp1_uart3 clock Date: Mon, 11 Feb 2019 13:09:28 +0530 Message-Id: <20190211073928.20456-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211073928.20456-1-vkoul@kernel.org> References: <20190211073928.20456-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Taniya Das The CFG/M/N/D registers are at an offset of 0x20 from the CMD register only for blsp1_uart3 clock, so add it for uart3 only. Signed-off-by: Taniya Das Signed-off-by: Anu Ramanathan Signed-off-by: Shawn Guo Signed-off-by: Vinod Koul --- Changes in v2: Update changelog to indicate that uart3 alone suffers from this drivers/clk/qcom/gcc-qcs404.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/drivers/clk/qcom/gcc-qcs404.c b/drivers/clk/qcom/gcc-qcs404.c index a7b2fe0fe505..5a62f64ada93 100644 --- a/drivers/clk/qcom/gcc-qcs404.c +++ b/drivers/clk/qcom/gcc-qcs404.c @@ -678,6 +678,7 @@ static struct clk_rcg2 blsp1_uart3_apps_clk_src = { .cmd_rcgr = 0x4014, .mnd_width = 16, .hid_width = 5, + .cfg_off = 0x20, .parent_map = gcc_parent_map_0, .freq_tbl = ftbl_blsp1_uart0_apps_clk_src, .clkr.hw.init = &(struct clk_init_data){