Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp218331imj; Wed, 13 Feb 2019 07:14:29 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib0BLYGFhhIuy0LKA+tunY0YFiqSO4XqPl62O5Ze8bgrKpo7773NQKemDPSoZTOruoAgdW7 X-Received: by 2002:a63:c64f:: with SMTP id x15mr927422pgg.16.1550070869131; Wed, 13 Feb 2019 07:14:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550070869; cv=none; d=google.com; s=arc-20160816; b=phdQOtyUqNbiBdAuTRFwE2TiqnJ+igSGCxHRY7SAYt0P52ye/eLKkXrxLzkBbn9OZg bqsAmJBMEaUcYEt8BSRgut+4Q4bDAYG4YNjw2JdgRrdag4S5snWiW/nsBZen93St2nr6 DuCrqXwgPamhR1j16EOraDy+HwQ3eIK6w72YganbxVLxA4KuzcyD9NL56MlKj6tj3L39 SQgOUQc6ii/pPOAxgcYckTI54u7Xkf4/n/up0SNk7zrCGYoyewVGK6auYtUOiZGl5oQN XYsH7CaLNg7nGgsBpXZxhQfNNoEVk+/rM7ufXJV1AwHjaDymhbgh2WKOMxAPwppNFaD9 Sfkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=y83HGNMQd0DuWDWDAfAIXbfOheQz3mAr6eKKBDtRjMY=; b=t8cDjpOO0a0fXLiYWbWTekrtNALAKcFFkOvdJ+UzLWNm/gAb0HaBBPt1XXSx/FgQm2 NFFiCpISDlFnUSfsPC+Rm6Z1Za6xqLdLAWdGVKyTDgx/u2H9d5NPGTNo37MVGbmJL008 xIyrzPvXAW5lIAcjnEk84fByy7b9NtBz7IAZmhjtaOUfzulfvc8XPZcTLfRbZi4r3GT9 Zemv7746CMZToeKRQgK1xi4YbDw74QFYmhG+wrKWQyrspUHFP/uTJmR3ZSZlEyzs5bbN 5K6/vvvv7gOp2Ks7PTtKjB5qYBR+JteK/8mMQCe/kiiG9o1HkKHdTDr5oTVI9SLQicNO HS7w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j14si13645325pgg.44.2019.02.13.07.14.11; Wed, 13 Feb 2019 07:14:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392224AbfBMO2y (ORCPT + 99 others); Wed, 13 Feb 2019 09:28:54 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45843 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731144AbfBMO2y (ORCPT ); Wed, 13 Feb 2019 09:28:54 -0500 Received: by mail-qk1-f194.google.com with SMTP id y195so1400703qka.12 for ; Wed, 13 Feb 2019 06:28:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y83HGNMQd0DuWDWDAfAIXbfOheQz3mAr6eKKBDtRjMY=; b=AtsP+drlhiSCKovW8RYHmaQKqnAxf3/PqxJvMKQr8CBYMvrEkePto8/Pc5louYq9Sx NaftRYbdBFnftbcw8FaL68fubkvwycfULqn30s2eORycngzsch4U2eRStPaM8EeddfqG VsdP9KSKSarhP3c9Z5MOJxG57tVPLY43GH+0Ik7sFzg8lBB9muM7OLhtH6G06YsxQ+ay idPsU0kWA8y3VWSTqNOEftutEJpewfo/dvrQk2NAc52fALA0xN/yk+jrxoAzlKTsErKl YUORwN5EWZBPimtRUyvjK4ch3t9Fmu68E5L/H/6qv/mKONHwaR1GDDT4m8Ki+rP8KXhU zI3w== X-Gm-Message-State: AHQUAuYu5UT/e6oG5ENalQ1sqyKAKx6b7aNRqusNZYEP09uv9I3HUCin 8ZevPf5knCfEVglhEOUv+KIRjemPaJsyEcbbLpU= X-Received: by 2002:a05:620a:12a5:: with SMTP id x5mr573796qki.291.1550068133539; Wed, 13 Feb 2019 06:28:53 -0800 (PST) MIME-Version: 1.0 References: <3d1f18412a927f69c733b6ed31659b7770610442.1550062410.git.baolin.wang@linaro.org> In-Reply-To: <3d1f18412a927f69c733b6ed31659b7770610442.1550062410.git.baolin.wang@linaro.org> From: Arnd Bergmann Date: Wed, 13 Feb 2019 15:28:36 +0100 Message-ID: Subject: Re: [PATCH] mfd: sc27xx: Use SoC compatible string for PMIC devices To: Baolin Wang Cc: Lee Jones , Mark Brown , Orson Zhai , Lyra Zhang , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 1:57 PM Baolin Wang wrote: > > We should use SoC compatible string in stead of wildcard string for > PMIC child devices. > > Signed-off-by: Baolin Wang Looks good. I had a look at arch/arm64/boot/dts/sprd/sc2731.dtsi as well, which contains lines such as compatible = "sprd,sc27xx-efuse", "sprd,sc2731-efuse"; which fortunately work with both variants of the driver. Just to make sure we have the same understanding though: - Other drivers will leave out the 27xx part and just do compatible = sprd,sc2732-efuse", "sprd,sc2731-efuse"; - When you specific a generic name (such as the sc2731 part), the more specific one (e.g. sc2732) needs to come /first/. The current DT appears to have those mixed up. Arnd