Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1742469imu; Wed, 21 Nov 2018 01:01:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/XlumThT55SOG3R1IxVMRm6agG3RWn/flrN4uEvhuZTBNrAnbUGpby2qoSNMxt04pHByrvv X-Received: by 2002:a63:cc43:: with SMTP id q3mr5096810pgi.291.1542790873330; Wed, 21 Nov 2018 01:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542790873; cv=none; d=google.com; s=arc-20160816; b=nF57jGG/g72ezN9JaVB5tRS8wd3tANtyi25eqW2RhR5ZSVuSr0mRG2qPEf55Duy55l ID77dHYjigCJu/7lycTJtbTxPyND8sJVBRNPRXnfShjA5EfMW9SooNp7X4DrB+mLHebE hmiGFF5o6mLguTw3ve7afoME27uUqAkrz0ZBvLFUAlyBGY7xP5J8jIDTLUYXrNITPbIe fm7gdqrCDR3lgKHOYMY8F9o21tsUo2N4VXBM9TN6N0Uqg5u1i0KAyZHC4udOIrMuZo9A j0dhwydUM7hvs/fi+Dq9+qupf45wqW5H8HLqnF7opxYQ7/BgDujpqh1ildaIBMjO0HqE ftiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=SFGUiStujf5wvh3nJrKTmjksqfmzQg7H3bcVPePRWB8=; b=aE18NgVacvkJSa33kxfGOEhDa3zJWbhIi6YyNR6yRxw+ES+YOb4Q+E77zim4tbcc+q sLMCO0Jxr+vWzV1ColAeE0VZ54qqLKyJcgAd30t2TSe+ISAy3CTz60l7h+abeDM+WMpE VUad3sMP5HBQa3MrTRHuQIfifNQt+/XLP6rNEDAzXClNu0SaSNaLx+EEsTz9nJBHyT2J Wjv1/DexFCv+HMTJmyOiCDz7HqG0M0NBZHz6sNzEiCaJPO1xEWQee3BTjgAoNQtqNyHy fF/gGiFIzGdVZbxp+svFZuNikJu0zVVkG1qgkIdrP0IOdMCTiThxVfoDE5i92CJ+DBsH F8Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PRCdZlCs; 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 193si45802273pgc.220.2018.11.21.01.00.57; Wed, 21 Nov 2018 01:01:13 -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=PRCdZlCs; 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 S1728825AbeKUTd6 (ORCPT + 99 others); Wed, 21 Nov 2018 14:33:58 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:33353 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbeKUTd6 (ORCPT ); Wed, 21 Nov 2018 14:33:58 -0500 Received: by mail-pl1-f195.google.com with SMTP id z23so4575837plo.0 for ; Wed, 21 Nov 2018 01:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:to:from:in-reply-to:cc :references:message-id:user-agent:subject:date; bh=SFGUiStujf5wvh3nJrKTmjksqfmzQg7H3bcVPePRWB8=; b=PRCdZlCsWgOntbiwsIrsZ5SuZxHJUqJG3broeVWWXrGtMO6F+ohKVyjGNFpi8438SC MAgiKy6EJkBExCL9HPjb28zfxzjGc85OB9YxyAXKhTBbKho4B9DTVKDWED4F4Uw5cc0E Hr7G2/y/GuMXoNToHMhk9I2dBWIJ+HrfGs3uc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=SFGUiStujf5wvh3nJrKTmjksqfmzQg7H3bcVPePRWB8=; b=VswOwfprSgNvRln7epae90PQQJ3JD7ZFDu7YHoahD2e8Mauw763jIAUNlugeVQE0qv B5Kd/gMD7HEbIVlPqSRO4GzGggUZgz4rKh4cFJ4s9VQiBfTDnc5v+mAaQnxOA66Uvou5 kcttDSOhDfXDFEf8Sn1ejxT0MzJyOU7hPlKXnQNx3ml791DZED+MeEmw5nxgz+sMTQdH sroZvJJQ64RCKT25xxP39/FVrx+VLhgn4IiFzIzFUDuUcZ781W8CxQNVf3SMt+3+Stfz vYeEBD00g/Bn0lOp+LV+XtsQe2stBL0m1Go7P89wlzctZxgHxFwOXWQl+X/RyB3mQ5zD nWWQ== X-Gm-Message-State: AA+aEWbKDu1KDAEdzezUETUQm0VBnvnZk7/r405SMn5xTwQHWUc7bgZL f34WyRhz4h3/zboy+P8WxBjXoeLF8nY= X-Received: by 2002:a63:151f:: with SMTP id v31mr5120336pgl.34.1542790819181; Wed, 21 Nov 2018 01:00:19 -0800 (PST) Received: from localhost ([2620:15c:202:1:fed3:9637:a13a:6c15]) by smtp.gmail.com with ESMTPSA id x7sm46370014pga.68.2018.11.21.01.00.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Nov 2018 01:00:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Michael Turquette , Stephen Boyd From: Stephen Boyd In-Reply-To: <20181105194011.43770-2-swboyd@chromium.org> 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 References: <20181105194011.43770-1-swboyd@chromium.org> <20181105194011.43770-2-swboyd@chromium.org> Message-ID: <154279081676.88331.1516496381312386439@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH 1/2] dt-bindings: clk: Introduce 'protected-clocks' property Date: Wed, 21 Nov 2018 01:00:16 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2018-11-05 11:40:10) > Add a generic clk property for clks which are not intended to be used by > the OS due to security restrictions put in place by firmware. For > example, on some Qualcomm firmwares reading or writing certain clk > registers causes the entire system to reboot, but on other firmwares > reading and writing those same registers is required to make devices > like QSPI work. Rather than adding one-off properties each time a new > set of clks appears to be protected, let's add a generic clk property to > describe any set of clks that shouldn't be touched by the OS. This way > we never need to register the clks or use them in certain firmware > configurations. > = > Cc: Rob Herring > Cc: Bjorn Andersson > Cc: Taniya Das > Signed-off-by: Stephen Boyd > --- Applied to clk-next