From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 296F9C433DB for ; Sat, 9 Jan 2021 22:15:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E663D224B2 for ; Sat, 9 Jan 2021 22:15:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbhAIWPT (ORCPT ); Sat, 9 Jan 2021 17:15:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbhAIWPT (ORCPT ); Sat, 9 Jan 2021 17:15:19 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF4F3C0617A4 for ; Sat, 9 Jan 2021 14:14:38 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id a12so31805636lfl.6 for ; Sat, 09 Jan 2021 14:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PuGxm3GFcBsNFb4VCYjv1V+efk01JzJKthlrfnQST3E=; b=bUPsrc89m8tMUAGi+l2QVNYeEH/XAGp8VALJgeDbfiWuE5UE4mJMJ74pbL+6B5lPaY PPvNNGMBkWYpZlxHYz2480aZPc8p168tngGCnarSiN2Fb7oZhGas6hcyXlxnVWycYBJv 9R3BwGIz801vzLERNgcyn1L83FB7JWHH45BGMOU30x9tBFDOliYomSCX5cJFGiHo27XA hMI6s+B3GJN6HKBzmG9MTBoNrefM8ZWi5WS5Rs2in0ui2FlyypeTnvYU1Z9yY9qxoqN0 6ITuUigNRrV/CS56Q/HJEnqEwhJ5IsEN/q5NlDyOgmUSplQ3rp2dAt7+Y2gtQcwTqqDf q6wA== 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=PuGxm3GFcBsNFb4VCYjv1V+efk01JzJKthlrfnQST3E=; b=lNwW3hTaTtNqIS1cZyFBEL/U7mLRfNhAmWznNVusZbZh5N0HBwQW+5mpCFk00v/ybO LEZNgMnt/lVxm6QBIH0dZi8Vd4lqpkHHzE4lOPTO5ct3Crpw+59YxAyefQObhLHpQj8X A79Rwij5dLXDyaMXWNc4SO6lrzK2/HxGsMTN8pfuAgKtPe4XfMa+WVMTEPwBh9txEJxn meZYsxNqmyhxk06ow/knsb9EY7ldqIo233JXbfcmx9xCYceqwUTA4GzCNSlaSOzHvtbn G4qtRKe90RPIZNr3lHqQf4hk7TMipZCgoK1PXL4OuUPE7L1OpASMc+Pl9u/HBi66Z2/f gdDw== X-Gm-Message-State: AOAM5313Gsvk9oUapDrCczlgWbZaJ025rLqs+8R7kyu0Ebck0awB2Bwu 9kV9A+jyNvft/IIW2mYV/mYl66UEa9BkNVrTEXk/zQ== X-Google-Smtp-Source: ABdhPJw2WqwJduUqNY8DC7qF/2q+9O/eVsIl2egJyl9nuRFKtSZWNQDD5y2ipQevex7TLwS1jqOuJf0xiGv0JFXZy3U= X-Received: by 2002:a2e:586:: with SMTP id 128mr4663265ljf.273.1610230477212; Sat, 09 Jan 2021 14:14:37 -0800 (PST) MIME-Version: 1.0 References: <20210109140204.151340-1-angelogioacchino.delregno@somainline.org> <20210109140204.151340-3-angelogioacchino.delregno@somainline.org> In-Reply-To: <20210109140204.151340-3-angelogioacchino.delregno@somainline.org> From: Linus Walleij Date: Sat, 9 Jan 2021 23:14:26 +0100 Message-ID: Subject: Re: [PATCH 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B To: AngeloGioacchino Del Regno Cc: "open list:GPIO SUBSYSTEM" , konrad.dybcio@somainline.org, marijn.suijten@somainline.org, martin.botka@somainline.org, phone-devel@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Angelo, thanks for your patch! On Sat, Jan 9, 2021 at 3:02 PM AngeloGioacchino Del Regno wrote: > +#PIN CONFIGURATION NODES > +patternProperties: > + '^.*$': > + if: > + type: object > + then: > + properties: > + pins: > + description: > + List of gpio pins affected by the properties specified in > + this subnode. > + items: > + pattern: "^gpio([0-9]|1[0-5])$" > + minItems: 1 > + maxItems: 16 > + > + function: > + description: > + Specify the alternative function to be configured for the > + specified pins. > + > + enum: [ gpio, pwm ] > + > + bias-disable: true > + bias-pull-down: true > + bias-pull-up: true > + drive-open-drain: true > + drive-push-pull: true > + input-enable: true > + output-high: true > + output-low: true > + > + required: > + - pins > + - function Is it possible to just $ref /pinctrl/pincfg-node.yaml# for some of this? Yours, Linus Walleij