Received: by 10.223.185.116 with SMTP id b49csp1333981wrg; Fri, 16 Feb 2018 17:43:23 -0800 (PST) X-Google-Smtp-Source: AH8x227pDzDWeQl9YL//Sf9u6Hr06dSRjasH5HhOk93dU5aCAzvDOwLUhaOqddnGqypHJmWTJk4U X-Received: by 10.98.87.195 with SMTP id i64mr7855124pfj.34.1518831803606; Fri, 16 Feb 2018 17:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518831803; cv=none; d=google.com; s=arc-20160816; b=ELC/gVts0YUPY1AbFTkCbssaxh5/Fv11tm2boB12yRI9UotEO/cBghn2TuieTBFmAM 2bcw0wKovc8i7EYAGOqOGeud6D4lYJyWkmuzCM4jSH77kNIGA2R6SkM26SqZ7YA1L3Mx FwgwLGO4i7v3wDNAcvyEpwuuCp7/ThqsJVjFIaYVLoVQq4WJNXYs32/lRqD7mlX/8dI2 au90FmqjVT7NjMUXCymq+D5z+ydtfaTLAxtigWrSBtLZQfFPvYKyCJBDiCJC3kZ/uRq5 45pzkcO75ivHdowPKXNpksRmKFlNwDhE6H2NQfZNQ/aGeC0gNkB5Xp9iKY0nwkHPRkuq vwXQ== 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 :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature:arc-authentication-results; bh=WGhbzIR2jHWdeL5xTXkrN+gr4WG4A1bkj3VPAvKhxVU=; b=frmZmubOiiiw+2xpKPgCzF7A22rXuii06fk+vt+ZKrR7LQdx1ow9n0fj/HXW3hPN+H O40Q+fJdyVwEktMt0uuetQgMKKOEBxSvvmbxXA85HeSMDUPy1rhuuRtLBVo0G0QDYDYA 6cRzYeqrHpX/VRK7EeVNuKopr4H0u6gdr/14HgPuRMpez1dnqiIp4SrNRqrbKX0UBhxS fGydO/JOa7SHshsycvMHoGvcom5FSlPw1ejmXDqZch6Ylf1wcye0seVI4Y1v/mUq57qn ZRCjOtmzlKzHVrWmTsjvdcUCdz54J7cjdK0+jGRcoWX81C1me21xEi1cNs9N/TwAVE8O VBRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yumBzTv3; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68si604816pfb.119.2018.02.16.17.42.23; Fri, 16 Feb 2018 17:43:23 -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=@ti.com header.s=ti-com-17Q1 header.b=yumBzTv3; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751085AbeBQBlG (ORCPT + 99 others); Fri, 16 Feb 2018 20:41:06 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:63066 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbeBQBlF (ORCPT ); Fri, 16 Feb 2018 20:41:05 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1H1ehn0001468; Fri, 16 Feb 2018 19:40:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518831643; bh=WGhbzIR2jHWdeL5xTXkrN+gr4WG4A1bkj3VPAvKhxVU=; h=To:CC:From:Subject:Date; b=yumBzTv3Zi4sWIzlVHtiLndapV3K9Ni4bOTXxbBBarzIkCTc8QEFf2IXj9F24iYKL XubZreAOi7zNU4zkbA9IfwSGD2RH0UdjPqN87x+wQFVGcIvCcrLHnbXEp7JFL7AF5q dWH70yI2lHcbZqe41XzI1DYN+BtzTFhUy6n2Jpxs= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1H1ehIu022292; Fri, 16 Feb 2018 19:40:43 -0600 Received: from [128.247.58.153] (128.247.58.153) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Fri, 16 Feb 2018 19:40:43 -0600 To: Lee Jones , Pankaj Dubey , Arnd Bergmann CC: , From: Suman Anna Subject: syscon regmap for disabled node? Message-ID: Date: Fri, 16 Feb 2018 19:40:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [128.247.58.153] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pankaj, Arnd, Lee, I am testing some code to use a syscon/regmap interface and I find that the syscon/regmap is initialized even on a disabled device node using a "syscon" compatible property when I have expected it to fail. Prior to commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform devices"), the driver would have never probed, and the of_syscon_register() only checks for the compatible, but not if the device node is available. Is this intentional or a bug? regards Suman