Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32942C64EC4 for ; Wed, 15 Feb 2023 20:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjBOUPT (ORCPT ); Wed, 15 Feb 2023 15:15:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjBOUPP (ORCPT ); Wed, 15 Feb 2023 15:15:15 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB8F83B0E8 for ; Wed, 15 Feb 2023 12:15:12 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id v13so25453154eda.11 for ; Wed, 15 Feb 2023 12:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dlmPTOnb/uWLfvlA407oM/Uo2zpIEnCfaCV3rCJXuTk=; b=PGgGoS9veoto+MdZyUsqJVCgiRm48C+bKGg/BNzqmRyAgBduWvjwLSIA9hJVRCTPfC tyB77nflObOintmTohjswFYX8+ae/eoY8EUA9VzdFWhQp+l+rdx9MaUxF3bHu7BGf1z4 ihoqE5AsCngkijR4DrhLF37fMhF63uDOtAp47ig+OQrTn6A/BW4tD73y6TWMJ6ZntKCD 5J7V2so5FtVjGXPEzP3RkldnxZi/61DuY0BKamJLit8SyoEJhI6Iry0TNH3SjOFUMvOs ylwlFYZ0vqzHuuFjGZthLTlIEN+jkgmc3/J4WC1ojPxdLwqSMhWj4QeGZs3hM1Fkn91Q y/5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dlmPTOnb/uWLfvlA407oM/Uo2zpIEnCfaCV3rCJXuTk=; b=cyNpSJ3k55JgfvSndlg+g5hlV8Y5BygBNpfrVAgh4mgBrCWm0Yzw2DvJH/hBDXUW0J qJJvzA+lbSyW7CIwzPxhgqozfKm4ipdp8pvThpKCDmLwvdRXhdDlnqtuqjGR0bh162EY dH2fUtbeJvHP0RlJ4Sc3V9pcgOk9F6gsH0uQVSUuvP6vnWcQ2mNDSDUFR01SPbWJPYU9 vJb7nBnmy5iYF0wUUxmYM3ly6QZ3ZnTiIryhDGxVDrIm9fyah8L64979wmsK5gHd5fJU so1+ktNiUPdoSUib+fIyYXA0NbxqEgdAdtJT4FrtOcHVO8Jd95Q8TUq6R0nx4NqEGzho d0Gg== X-Gm-Message-State: AO0yUKUhhXuqV4RlotppAiFW+1ppy7OkFGdgxc9PyjZQEMZT6zwgeY2h hsQ1zqAsBnEDLuFyygZsob59hw== X-Google-Smtp-Source: AK7set8lzJ0tcYwuFqn55W8bMUH7MpsMOhrCOTOKKSzf2FZ8WDQaVfnJzAccK7AFJKoOa77PZC0Ivg== X-Received: by 2002:a17:907:7e8b:b0:8b1:472a:758d with SMTP id qb11-20020a1709077e8b00b008b1472a758dmr702577ejc.18.1676492111277; Wed, 15 Feb 2023 12:15:11 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id y7-20020a170906070700b008b14bd356d9sm638926ejb.37.2023.02.15.12.15.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Feb 2023 12:15:10 -0800 (PST) Message-ID: <0b053e6d-79c5-38fc-5f6f-d7cd13fcefd9@linaro.org> Date: Wed, 15 Feb 2023 21:15:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 1/8] dt-bindings: gpio: rockchip,gpio-bank: add compatible string per SoC Content-Language: en-US To: Johan Jonker , Bartosz Golaszewski Cc: Linus Walleij , krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, heiko@sntech.de, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kever.yang@rock-chips.com, sjg@chromium.org, philipp.tomsich@vrull.eu, john@metanate.com, quentin.schulz@theobroma-systems.com References: <03627216-54b5-5d9b-f91d-adcd637819e3@gmail.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/02/2023 17:14, Johan Jonker wrote: > >> Johan, please address the enum issue and resend just this patch. > > I changed to oneOf, because with enum I didn't get it working. > With 2 enum's it complains about: is not of type 'string'. > I'm out of ideas... > Maybe it's something simple that I overlook. > Could Krzysztof give an example? Documentation/devicetree/bindings/arm/l2c2x0.yaml It should look like this, if my email did not mess up indents: + oneOf: + - enum: + - rockchip,gpio-bank + - rockchip,rk3188-gpio-bank0 + - items: + - enum: Best regards, Krzysztof