Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1736295ybg; Sat, 19 Oct 2019 01:23:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqztk6kfpR41JnXth4Axc7CQH0Du+4/7rSVn5ygja6As4pTmxiNRp0TeKz9zVyGXmEqauNM+ X-Received: by 2002:a17:906:556:: with SMTP id k22mr12517911eja.66.1571473399233; Sat, 19 Oct 2019 01:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473399; cv=none; d=google.com; s=arc-20160816; b=cyKpepvUFB7Tgmtkpf7P4/YD/9IuamLF6xlErz38Jbpk1w7fQNHDIh7DS1driPeH0t Kmpds6NQyoSjn8/dhA4kyzqB4VjIxX05CdYfLDJNCf6ciN5SbZk5U+/xilDUb36MvdkE Rm3qF7sbiiYyAuEeNjAiwIfyw1h+iqqDP5aO8H3f1UFrgKxWyQ3rWmjWAhC16osZoGSR +1egpTLr9B/+x9c+oJOHbzk5MpC8EOr47g85oyillPGIA4eXpAzfm2JufCbl5Jt+W1l2 s/G3yFeIK7fouKABIjAk808LgIB5velfdy1BLmNYQjXXORYP/oZ3z9KB8dqRNXZaykXU t3fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=yVZsL1k6xiwxuV3Dn1WgaEOAdbpoPkfatJaTm2/Mp3w=; b=AXWhRSE/B7ccTVs+I4E+8NGNKQ4EkIGrAJ0694TMGXeFxbGqCO6Vzq390tIw1lFuAX CzUZoVPOvYw300e6GVLvnZZpWOfP5G1/zrpKLzh34ldA+oJvxIHEYeB50MEiWkuWVXZ7 h2noyO4VNZBXQwReBjq5eXMcJ8bLcrx8TOQmhxZCRsz4UgMG+lBE3Q1UIWNTbqLb9eSz YLFYXzLfydRFta1eX7rj9N/JYXJZ8fx5xjNnqTHtZOAFeTHKGAS3YgmRPPIdBzaa8LkY vySIlt8QSuNvXKeXPsN6+FnBaTSYxM9mMFwEGP3zMTqZ6AVrTxLY/8ebC32gq5dXheiA DoUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nJzaiiNU; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si4834701ejx.315.2019.10.19.01.22.56; Sat, 19 Oct 2019 01:23:19 -0700 (PDT) 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=@linaro.org header.s=google header.b=nJzaiiNU; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393087AbfJRM3A (ORCPT + 99 others); Fri, 18 Oct 2019 08:29:00 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40239 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389585AbfJRM3A (ORCPT ); Fri, 18 Oct 2019 08:29:00 -0400 Received: by mail-wr1-f67.google.com with SMTP id o28so6064538wro.7 for ; Fri, 18 Oct 2019 05:28:57 -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=yVZsL1k6xiwxuV3Dn1WgaEOAdbpoPkfatJaTm2/Mp3w=; b=nJzaiiNURnwmCDzi+HEDjAoCrZm2BiaHVd4DbjtibweAWdBba7y8Cm5Cul1GhvS884 b9Z3DWTZI36Wslys6q1QlPw4r9V+tUfrUVdoszjEWrajnwwOWFegyFTKWXDROe7lRL2l zUMF+Dv6XlZvr1G6c8vnGIgtSQ8QSXY94A6vAdt5kBNKUlAq+PFSWVrzeMQFazNuw4V+ mAob2CIzkAm8Orq/2RYhFQ8y0hMXHRHrWS1q24L5UpsH+Uwvx5FjchpwkYNt1AdffcRU QH2/nuCdP5UU8SxmV2LtpfD2NJSpo22IPRoMKpoywjR3Iw9mOlE8wmeh/rzvokYeRvpK Mwcw== 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=yVZsL1k6xiwxuV3Dn1WgaEOAdbpoPkfatJaTm2/Mp3w=; b=XbUeNoMzz1hT0vo0RVp5AydjiHOf1TMlVmEwxSP6zmgoKoqopmHBfwe8Vn6RlQoKTz a7HWGxoX2bIofLUbX9myV009s1FrUw6b2haAr7bbwlYR/Re7E4oKvEnwuV9oLKBIgWTQ FuburokgVHOLAjrDVO7tnjl9W/WscF70Om1vRN9W9LFFZPzJf14pLTiHgAddOeyZQ88A TKiAHDYOJd0RwPuwmPGgGecNmLOgZ/ciKodH3MhViSCMGvXruf3YxCNExOkU33292UMi y9I6hiHqVXuCRL/gLvsovneTYYaZfVwURcKcaqdW+sUVV78ZvIjslxUfDhXdB04BvROK BWlQ== X-Gm-Message-State: APjAAAWfBa3wl2H2m4kKaQ3i/Ax2I8FtQRiGOUEYgu3lCCUTwPedH8I7 nUprBKFsEPd17U5nCnslHmaHZA== X-Received: by 2002:a5d:6992:: with SMTP id g18mr8044446wru.237.1571401737135; Fri, 18 Oct 2019 05:28:57 -0700 (PDT) Received: from localhost.localdomain ([95.149.164.47]) by smtp.gmail.com with ESMTPSA id e3sm5033820wme.39.2019.10.18.05.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 05:28:56 -0700 (PDT) From: Lee Jones To: broonie@kernel.org, linus.walleij@linaro.org, daniel.thompson@linaro.org, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, baohua@kernel.org, stephan@gerhold.net, Lee Jones Subject: [PATCH 0/2] mfd: mfd-core: Honour disabled devices Date: Fri, 18 Oct 2019 13:26:45 +0100 Message-Id: <20191018122647.3849-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This set ensures that devices set to 'disabled' in DT are not registered. It comes about after 2 seperate reports. https://www.spinics.net/lists/arm-kernel/msg366309.html https://lkml.org/lkml/2019/8/22/1350 Lee Jones (2): mfd: mfd-core: Allocate reference counting memory directly to the platform device mfd: mfd-core: Honour Device Tree's request to disable a child-device drivers/mfd/mfd-core.c | 47 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 24 deletions(-) -- 2.17.1