From patchwork Thu Jul 25 17:47:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11059519 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B9511580 for ; Thu, 25 Jul 2019 17:48:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CAB328585 for ; Thu, 25 Jul 2019 17:48:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8124C288F8; Thu, 25 Jul 2019 17:48:26 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 32B7028585 for ; Thu, 25 Jul 2019 17:48:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403866AbfGYRsB (ORCPT ); Thu, 25 Jul 2019 13:48:01 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:40606 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403862AbfGYRsA (ORCPT ); Thu, 25 Jul 2019 13:48:00 -0400 Received: by mail-pg1-f194.google.com with SMTP id w10so23409420pgj.7 for ; Thu, 25 Jul 2019 10:47:59 -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; bh=uPyttyuukrOTyss4ATYWgEvUft5R0VGROoogq8e3TtU=; b=uqJZ9lPiDh6lDJrwTHr7pHrkZYYsxkLlZrhZHZlGYYNuBIeM69qOefpd858bUSgUTS EZvvkiGFLtRo1xyovAUomFKaMXUM5X1Z6D6CQWYvEFFpVjdBPLK28jbBMgXG357oVrIL lh6nYvSs9bi8UlYPOURqLRRSXQ9+GcbAtIJmki61DrhoWtOttOkUPRC2DNGPSF+l/kw3 vrYwxuOfRBxagbSyfDxzK8L5uMp/CBMxgwJxP06wil9LJH1ay0wbZP5PlYs/BpL3fsBW BLO32TDOn6+aFMRLSjoqOD66ponaqQ91dLs0hQ7ORps2bW4PInGOREH4t7IpVOC292NS 41mQ== 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; bh=uPyttyuukrOTyss4ATYWgEvUft5R0VGROoogq8e3TtU=; b=jOz1bw8u/Nu+M7J2XUMv5AdYSGw0X47K8SqUIdzMJ3viMMI474Li2SWhbz1zM1XJ9A r/TN96knDELtAiXFT6aGV0oWxM2PaH3ByE3cat1VcspQJ3AXPeKwKnwjgoOd5hbqEfrc waHyOMWof9Y/G07/UMPbYp+ph9mS0+Re3PuEHvHnJpjhx8ysmHcPCnjWaV3EXM1gmm6Q ZX4WqUjNTLzFsEP5/6eWDxzAcU+AUyPGF9XwTQYv1EsjSll5mW0YJGiXSr2bXL+Q62UD Otsfs4dXdcIBwJuvCMnpZBV6I872hvvEfIm+zG2n3nUTUFH0vxJLqMWrS8lVTtdgty7c S3yg== X-Gm-Message-State: APjAAAUWNeeQchjv5XS7YHrLlRJl2PPHEDpOmAezLXBjGuo4eL0C7gLV A0tYe9+MTOyRD+NisABEi+L1vA== X-Google-Smtp-Source: APXvYqxWJJdh2WpxR05u7uTV6jiYAW/aFCKSvCbDb97bOitI1MMffmACT2/OqB9WOLNoqFmGmLAUkw== X-Received: by 2002:a17:90a:ca0f:: with SMTP id x15mr48139512pjt.82.1564076879249; Thu, 25 Jul 2019 10:47:59 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id r2sm68103389pfl.67.2019.07.25.10.47.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2019 10:47:58 -0700 (PDT) From: Bjorn Andersson To: Kalle Valo , Govind Singh Cc: "David S. Miller" , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/3] ath10k: Clean up regulator and clock handling Date: Thu, 25 Jul 2019 10:47:52 -0700 Message-Id: <20190725174755.23432-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The first patch in this series removes the regulator_set_voltage() of a fixed voltate, as fixed regulator constraints should be specified on a board level and on certain boards - such as the Lenovo Yoga C630 - the voltage specified for the 3.3V regulator is outside the given range. The following two patches cleans up regulator and clock usage by using the bulk API provided by the two frameworks. Bjorn Andersson (3): ath10k: snoc: skip regulator operations ath10k: Use standard regulator bulk API in snoc ath10k: Use standard bulk clock API in snoc drivers/net/wireless/ath/ath10k/snoc.c | 324 ++++--------------------- drivers/net/wireless/ath/ath10k/snoc.h | 26 +- 2 files changed, 48 insertions(+), 302 deletions(-) Tested-by: Govind Singh Reviewed-by: Govind Singh