From patchwork Tue Apr 9 08:57:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 15992 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-fa0-f70.google.com (mail-fa0-f70.google.com [209.85.161.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0080623970 for ; Tue, 9 Apr 2013 08:58:03 +0000 (UTC) Received: by mail-fa0-f70.google.com with SMTP id t1sf5785908fae.1 for ; Tue, 09 Apr 2013 01:57:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=YNj5gOgTCtk66qrdvdYdk2NnWeOCqVz++HAMU1z7myw=; b=KcqBe0FC1ExZhB5U34wmAREj2OI23u39Coxiv1kMYVjwOxRvMxCfeyJfTPLXXBwdSJ CR8QoiwDJ+4dzDIeqCfdHxiMjTZb6WcnbDGvF0/aPHAGuFAOtEhOmspJ4/t7CNgX0KCs S3UmGaQ8FirJ83I19LKSIFfRp3TZDblQkILaWhkoEvxE9R5jsMfp6dm2sl1yTbrLtsNo IwjWDPGPUzG+oM2lt51qsy4u0G4w7k2qjH/GwlgNjtQugK/jy5FM9auqrFAuDHaFha9b QEv/updwRiV82fQW7wx3l+DNr8Om4IZWr3KeeaXR4RsuF4GooQJ2nUkLyFrDDXYXSoNK LWDg== X-Received: by 10.180.189.209 with SMTP id gk17mr3312417wic.7.1365497866314; Tue, 09 Apr 2013 01:57:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.24.37 with SMTP id r5ls1178569wif.3.gmail; Tue, 09 Apr 2013 01:57:46 -0700 (PDT) X-Received: by 10.180.36.48 with SMTP id n16mr18048196wij.30.1365497866229; Tue, 09 Apr 2013 01:57:46 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id ww5si11018919wjc.183.2013.04.09.01.57.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Apr 2013 01:57:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id m1so6216945ves.13 for ; Tue, 09 Apr 2013 01:57:45 -0700 (PDT) X-Received: by 10.220.153.143 with SMTP id k15mr18720418vcw.13.1365497865158; Tue, 09 Apr 2013 01:57:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.85.136 with SMTP id h8csp52314vez; Tue, 9 Apr 2013 01:57:44 -0700 (PDT) X-Received: by 10.14.87.199 with SMTP id y47mr44561093eee.17.1365497863909; Tue, 09 Apr 2013 01:57:43 -0700 (PDT) Received: from mail-ea0-x230.google.com (mail-ea0-x230.google.com [2a00:1450:4013:c01::230]) by mx.google.com with ESMTPS id g8si35811107eem.147.2013.04.09.01.57.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Apr 2013 01:57:43 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c01::230 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4013:c01::230; Received: by mail-ea0-f176.google.com with SMTP id h10so2643005eaj.7 for ; Tue, 09 Apr 2013 01:57:43 -0700 (PDT) X-Received: by 10.15.34.199 with SMTP id e47mr48016665eev.35.1365497863096; Tue, 09 Apr 2013 01:57:43 -0700 (PDT) Received: from localhost ([2a01:2003:1:1e91:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPS id f47sm36628666eep.13.2013.04.09.01.57.36 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Apr 2013 01:57:42 -0700 (PDT) From: Fabio Baltieri To: Samuel Ortiz Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Fabio Baltieri Subject: [PATCH] mfd: ab8500-core: Add of_compatilbe property for ab8500-usb Date: Tue, 9 Apr 2013 10:57:21 +0200 Message-Id: <1365497841-4640-1-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.1.3 X-Gm-Message-State: ALoCoQlJNwR6G4dyjcUL5kNJpBkG6h14wpVMEjbytF9bOGcT9yN2d5CY3itUrrc8bJtDKqV7BeS3 X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add of_comptabile string to the ab8500-usb cell to allow the driver to grab properties from device-tree when available. Signed-off-by: Fabio Baltieri --- Hi Samuel, this oneline allows the driver to grab regulators and other attributes from device tree. This is actually generated on top of -next, so it should apply cleanly on your current mfd-next tree. If it doesn't, I'll rebase on your updated tree when available. Thanks, Fabio drivers/mfd/ab8500-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index f276352..4be1d0c 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1107,6 +1107,7 @@ static struct mfd_cell ab8500_devs[] = { }, { .name = "ab8500-usb", + .of_compatible = "stericsson,ab8500-usb", .num_resources = ARRAY_SIZE(ab8500_usb_resources), .resources = ab8500_usb_resources, },