Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp975767imu; Mon, 5 Nov 2018 11:42:48 -0800 (PST) X-Google-Smtp-Source: AJdET5ffJMDiB0OrO4rdmBj3vuUmfZl6XQ/4nj2dVZ/XAiX3tg7gqrFNCsqHUHaSzMWmK6x/YI0b X-Received: by 2002:a62:a50d:: with SMTP id v13-v6mr23196932pfm.18.1541446968491; Mon, 05 Nov 2018 11:42:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541446968; cv=none; d=google.com; s=arc-20160816; b=zldA44TKQ1rbiCsaP9kAAbgVb3tgZgpaxqG4AHMXS1xqpmf5UA+5ScBAerrflVa5E7 Sc+0PYBx/qAB04uT/Wz40KmRBBHFmBzenCXs2EBqt4LG/3rgtMTAs2nOTIper+/RgHUS rlg1BCMNrU09G90EF76p7mO//wdQ7/GEg2ZtAQKqjD7SxkePV/avBLv/4ktNQVzIkfby ER1dj6ML5/sqwUvyhq+407p7jFT1i30p38KS5LDsC3tOKFbTjtfPsoCvJBKlDp8sPLim thKIqzMRcO7JVnts+0LoVZXJOmwt3Of/IX8WN1ZaCM+Hqx5nW5clWiOe5eA5p0wK3dWH S/ag== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=79FFXPDXxKn+tLiOm0w09aLQfe6HmuIjKtK4WiHzhAc=; b=KK4E2miCC5KGDAJPXcEjRSR+Glg9KDmTqz8Wi0BeDbmXmxw9vpBid6MirvzVBlMKX7 uVeyZqmwg1zREazJaU70tKrIFZCA1GoNIRovpXAKDDfOSFWd4I4sIf+iNDlvtC5e7c5P dLMqJIjspvIV5mQeMa0bpZlo9gffhzwrGl95yKNeJtwSakRKKakA0P5GY4k9FD+9dz9Y fPg82t5kDWzYmaBxZEKv64OgNkwyBn7TgZvMtxsL0R666j4T8PCYHNQX3h54SywznXJx RV3Sm9N34Mu639dIM+aQLmS1Dv2BDpAg58T0c43M1tajJbpDuns+XXlzwS/PVpLsnQ+S eseg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="HuxDfr/6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bf10-v6si17060007plb.200.2018.11.05.11.42.33; Mon, 05 Nov 2018 11:42:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@chromium.org header.s=google header.b="HuxDfr/6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726790AbeKFFB2 (ORCPT + 99 others); Tue, 6 Nov 2018 00:01:28 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:39992 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbeKFFB2 (ORCPT ); Tue, 6 Nov 2018 00:01:28 -0500 Received: by mail-pl1-f194.google.com with SMTP id q19-v6so1950816pll.7 for ; Mon, 05 Nov 2018 11:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=79FFXPDXxKn+tLiOm0w09aLQfe6HmuIjKtK4WiHzhAc=; b=HuxDfr/6N5+hMA8YlFnIkbIzDbho9GbyRNB6aKE9hG+8DE81tfD1LsdNmz2ullarGY dQvAzYt69d3CIOnq5j4UHQZuSj+sLMf0AQGUUD61mlQ5foFZbjvHAWF77ArDg8f7eV0z zoRJYxVUS958ZtAqj9sjVEzyGqU70eYpfbEjk= 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:mime-version :content-transfer-encoding; bh=79FFXPDXxKn+tLiOm0w09aLQfe6HmuIjKtK4WiHzhAc=; b=IA9uClx0N7g2TU2O0HN1IKBv6pRDf99XiCrM/Se6wBEbUs4w8gc804l7Acr88qt/lD 0i7qVthXxN15B/tdvjxaWXzD4ShT8OBJW7WfYOWZ7POK0cNht4fMuQpcAG/8zFMFcT+G tRnG4llWCZR2QvsFHA5l3ZK25hSk2SkRHCIhzTSwX1w+z/zWGdi9d8oAVhMPNJt8Yh9T dglJ28ow3XOUApT9aiR7voDD1Aw8g96p1ZMt7/VZ5MjTNxFmS4MMgVLSHshzOOu2tyRZ Z1rts+psVkld1fR8vSh5YTESYuqKBhQDCNB4IUkVIQDUH7tSs2+dp8G5+YCPdk2t+h59 gKmQ== X-Gm-Message-State: AGRZ1gLgqn3WR9M8/5mTkIKRjSJXDgbLJbXONhvahHUsJTvJ9HdbfXIH PTbX/DSz8iPQl0245Rqs7ldPcA== X-Received: by 2002:a17:902:aa0a:: with SMTP id be10-v6mr23549692plb.294.1541446814432; Mon, 05 Nov 2018 11:40:14 -0800 (PST) Received: from smtp.gmail.com ([2620:15c:202:1:fed3:9637:a13a:6c15]) by smtp.gmail.com with ESMTPSA id q25sm700728pgb.2.2018.11.05.11.40.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 11:40:13 -0800 (PST) From: Stephen Boyd To: Stephen Boyd , Michael Turquette Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Bjorn Andersson , Taniya Das Subject: [PATCH 0/2] Introduce a 'protected-clocks' property Date: Mon, 5 Nov 2018 11:40:09 -0800 Message-Id: <20181105194011.43770-1-swboyd@chromium.org> X-Mailer: git-send-email 2.19.1.930.g4563a0d9d0-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org See full explanation in patch #1. It looks like on qcom platforms we're increasing the number of situations where we need to have a set of clks that aren't touched by the OS because firmware wants them for itself. This series introduces a method to do that by specifying in DT what clks shouldn't be read or written and then having the qcom clk driver neve register the ones that are protected. Cc: Rob Herring Cc: Bjorn Andersson Cc: Taniya Das Stephen Boyd (2): dt-bindings: clk: Introduce 'protected-clocks' property clk: qcom: Support 'protected-clocks' property .../bindings/clock/clock-bindings.txt | 16 ++++++++++++++++ drivers/clk/qcom/common.c | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) -- Sent by a computer through tubes